summaryrefslogtreecommitdiff
path: root/examples/python/gi/get_ips.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/gi/get_ips.py')
-rwxr-xr-xexamples/python/gi/get_ips.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/gi/get_ips.py b/examples/python/gi/get_ips.py
index 690bd6ef89..77e1d17161 100755
--- a/examples/python/gi/get_ips.py
+++ b/examples/python/gi/get_ips.py
@@ -21,6 +21,8 @@
#
import sys, socket
+import gi
+gi.require_version('NM', '1.0')
from gi.repository import GLib, NM
#