From aafc1dbe4712c86189bbc1d4d54ad8cb4c69be7e Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Mon, 5 Oct 2020 22:27:18 +0200 Subject: New upstream version 1.27.90 --- examples/python/dbus/nm-state.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/python/dbus/nm-state.py') 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])) -- cgit 1.3.0-6-gf8a5