diff options
Diffstat (limited to 'wpa_supplicant/examples/p2p/p2p_stop_find.py')
-rw-r--r-- | wpa_supplicant/examples/p2p/p2p_stop_find.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/examples/p2p/p2p_stop_find.py b/wpa_supplicant/examples/p2p/p2p_stop_find.py index f6c03b0..31b54dd 100644 --- a/wpa_supplicant/examples/p2p/p2p_stop_find.py +++ b/wpa_supplicant/examples/p2p/p2p_stop_find.py @@ -83,7 +83,7 @@ class P2P_Stop_Find (threading.Thread): try: self.path = self.wpas.GetInterface( self.interface_name) - except dbus.DBusException, exc: + except dbus.DBusException as exc: error = 'Error:\n Interface ' + self.interface_name \ + ' was not found' print error |