summaryrefslogtreecommitdiff
path: root/plugins/python/scripting
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-05-16 05:47:58 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-05-16 05:47:58 (GMT)
commit049f9fdb4c4fb44ecac9ade607a8462841010716 (patch)
tree11305fb5af332d3bc5341a7471178ca78c6d31d8 /plugins/python/scripting
parent9e5cf9b3383adcb08ce4a334e19bf02dafe5771a (diff)
Fix a Python import warning: "DynamicImporter.exec_module() not found".
Diffstat (limited to 'plugins/python/scripting')
-rw-r--r--plugins/python/scripting/core.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/python/scripting/core.py b/plugins/python/scripting/core.py
index 135edb4..1914a78 100644
--- a/plugins/python/scripting/core.py
+++ b/plugins/python/scripting/core.py
@@ -1,5 +1,6 @@
import gi
+gi.require_version('Glib', '2.0')
gi.require_version('Gtk', '3.0')
from gi.repository import GLib, Gtk