diff options
| author | Michael Biebl <biebl@debian.org> | 2018-07-03 23:54:48 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2018-07-03 23:54:48 +0200 |
| commit | 54de7f04d1fac5f29fd54ec4120ba2fc4f9b5714 (patch) | |
| tree | 87729385ff8de744dc44d0b4cc75916494b2fd38 /examples/python/dbus/show-bssids.py | |
| parent | 680d3db45106e7a18665a366e1b57e58cef61506 (diff) | |
| parent | 329b15110c4b183d7a47552abe3a6a6ff933e817 (diff) | |
Merge branch 'experimental'
Diffstat (limited to 'examples/python/dbus/show-bssids.py')
| -rwxr-xr-x | examples/python/dbus/show-bssids.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/python/dbus/show-bssids.py b/examples/python/dbus/show-bssids.py index 505e3d35..9776864f 100755 --- a/examples/python/dbus/show-bssids.py +++ b/examples/python/dbus/show-bssids.py @@ -32,7 +32,7 @@ manager = dbus.Interface(proxy, "org.freedesktop.NetworkManager") all_aps = [] -print "Associated APs:" +print("Associated APs:") # Get all network devices devices = manager.GetDevices() @@ -69,10 +69,10 @@ for d in devices: # Print the current AP's BSSID if path == connected_path: - print "%s (%s)" % (bssid, iface) + print("%s (%s)" % (bssid, iface)) # and print out all APs the wifi devices can see -print"\nFound APs:" +print("\nFound APs:") for bssid in all_aps: - print bssid + print(bssid) |