summary refs log tree commit diff
path: root/examples/python/gi/firewall-zone.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/gi/firewall-zone.py')
-rwxr-xr-xexamples/python/gi/firewall-zone.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/gi/firewall-zone.py b/examples/python/gi/firewall-zone.py
index ed9e5910..a56760ae 100755
--- a/examples/python/gi/firewall-zone.py
+++ b/examples/python/gi/firewall-zone.py
@@ -20,6 +20,8 @@
 #
 
 import sys
+import gi
+gi.require_version('NM', '1.0')
 from gi.repository import GLib, NM
 
 #