diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-10-16 21:55:06 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-10-16 21:58:00 (GMT) |
commit | 2f11bd5ab90436bf148428aebecca461cb5d095b (patch) | |
tree | 5318057f4def4116da781e270808f3d7062f13ed /plugins/python | |
parent | 962a955dfd6788f619c492d8f954ff6f4322947a (diff) |
Do not ask Python GI to look for GTK in batch mode.
Diffstat (limited to 'plugins/python')
-rw-r--r-- | plugins/python/scripting/core.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/python/scripting/core.py b/plugins/python/scripting/core.py index ff912ed..135edb4 100644 --- a/plugins/python/scripting/core.py +++ b/plugins/python/scripting/core.py @@ -1,4 +1,7 @@ +import gi +gi.require_version('Gtk', '3.0') + from gi.repository import GLib, Gtk import os |