aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples/p2p/p2p_disconnect.py
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/examples/p2p/p2p_disconnect.py')
-rw-r--r--wpa_supplicant/examples/p2p/p2p_disconnect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/examples/p2p/p2p_disconnect.py b/wpa_supplicant/examples/p2p/p2p_disconnect.py
index c3e39b3..9ea2c5c 100644
--- a/wpa_supplicant/examples/p2p/p2p_disconnect.py
+++ b/wpa_supplicant/examples/p2p/p2p_disconnect.py
@@ -81,7 +81,7 @@ class P2P_Disconnect (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