diff options
| author | Sebastien Bacher <seb128@ubuntu.com> | 2021-01-11 17:41:24 +0100 |
|---|---|---|
| committer | Sebastien Bacher <seb128@ubuntu.com> | 2021-01-11 17:41:24 +0100 |
| commit | a82e048a943092315a32d745c99e0f5635e29134 (patch) | |
| tree | e2daea99a161768c9b956bfea9117289deaf31be /examples/python/dbus/nm-state.py | |
| parent | b51f06ff71a2060925bf3c0f04c44bd12480e670 (diff) | |
| parent | 65f86e8f56267192d42f2b629fc6b0c99fb9cd0c (diff) | |
Merge branch 'upstream/latest' of https://salsa.debian.org/utopia-team/network-manager into upstream/latest
Diffstat (limited to 'examples/python/dbus/nm-state.py')
| -rwxr-xr-x | examples/python/dbus/nm-state.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/python/dbus/nm-state.py b/examples/python/dbus/nm-state.py index c380bd09..4bc9285e 100755 --- a/examples/python/dbus/nm-state.py +++ b/examples/python/dbus/nm-state.py @@ -68,7 +68,6 @@ for d in devices: else: print("Device %s is not activated (state=%s)" % (name, device_states[state])) - # Get active connection state manager_prop_iface = dbus.Interface(proxy, "org.freedesktop.DBus.Properties") active = manager_prop_iface.Get("org.freedesktop.NetworkManager", "ActiveConnections") @@ -90,4 +89,4 @@ for a in active: con_details = con_iface.GetSettings() con_name = con_details["connection"]["id"] - print("Connection '%s' is %s" % (con_name, connectivity_states[state].lower())) + print("Connection '%s' is %s" % (con_name, connectivity_states[state])) |