diff options
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])) |