summary refs log tree commit diff
path: root/examples/python/gi/show-wifi-networks.py
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-11-24 00:06:32 +0100
committerMichael Biebl <biebl@debian.org>2015-11-24 00:06:32 +0100
commita6ece1a2aa19a6268335c87d4fdef20123dd04a5 (patch)
tree87f1961faacdfafb1c4fee5f2feb6bcb5c06813b /examples/python/gi/show-wifi-networks.py
parent81836c2d44802b4cca833d7775dd627e0797a7e2 (diff)
Imported Upstream version 1.0.8 upstream/1.0.8
Diffstat (limited to 'examples/python/gi/show-wifi-networks.py')
-rwxr-xr-xexamples/python/gi/show-wifi-networks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/gi/show-wifi-networks.py b/examples/python/gi/show-wifi-networks.py
index 7f3bd2db..a8bfbbfe 100755
--- a/examples/python/gi/show-wifi-networks.py
+++ b/examples/python/gi/show-wifi-networks.py
@@ -21,6 +21,8 @@
 #
 
 import locale
+import gi
+gi.require_version('NM', '1.0')
 from gi.repository import NM
 
 #