summary refs log tree commit diff
path: root/examples/python/gi/list-connections.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/python/gi/list-connections.py')
-rwxr-xr-xexamples/python/gi/list-connections.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/gi/list-connections.py b/examples/python/gi/list-connections.py
index 34b559fc..32ea70f5 100755
--- a/examples/python/gi/list-connections.py
+++ b/examples/python/gi/list-connections.py
@@ -20,6 +20,8 @@
 # Copyright 2012 - 2014 Red Hat, Inc.
 #
 
+import gi
+gi.require_version('NM', '1.0')
 from gi.repository import NM
 
 # This example asks settings service for all configured connections.