aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples/p2p/p2p_invite.py
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/examples/p2p/p2p_invite.py')
-rw-r--r--wpa_supplicant/examples/p2p/p2p_invite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/examples/p2p/p2p_invite.py b/wpa_supplicant/examples/p2p/p2p_invite.py
index 6deb397..9413f02 100644
--- a/wpa_supplicant/examples/p2p/p2p_invite.py
+++ b/wpa_supplicant/examples/p2p/p2p_invite.py
@@ -96,7 +96,7 @@ class P2P_Invite (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