diff options
Diffstat (limited to 'examples/python/gi/get-active-connections.py')
| -rwxr-xr-x | examples/python/gi/get-active-connections.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/python/gi/get-active-connections.py b/examples/python/gi/get-active-connections.py index 55ba2d81..22c9eb4a 100755 --- a/examples/python/gi/get-active-connections.py +++ b/examples/python/gi/get-active-connections.py @@ -21,6 +21,8 @@ # This example lists currently active connections +import gi +gi.require_version('NM', '1.0') from gi.repository import GLib, NM if __name__ == "__main__": |