diff options
Diffstat (limited to 'examples/python/gi/list-connections.py')
| -rwxr-xr-x | examples/python/gi/list-connections.py | 2 |
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. |