aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/examples/dpp-qrcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/examples/dpp-qrcode.py')
-rwxr-xr-xwpa_supplicant/examples/dpp-qrcode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wpa_supplicant/examples/dpp-qrcode.py b/wpa_supplicant/examples/dpp-qrcode.py
index e2a00c9..f40f961 100755
--- a/wpa_supplicant/examples/dpp-qrcode.py
+++ b/wpa_supplicant/examples/dpp-qrcode.py
@@ -24,7 +24,7 @@ def wpas_connect():
if os.path.isdir(wpas_ctrl):
try:
ifaces = [os.path.join(wpas_ctrl, i) for i in os.listdir(wpas_ctrl)]
- except OSError, error:
+ except OSError as error:
print "Could not find wpa_supplicant: ", error
return None
@@ -36,7 +36,7 @@ def wpas_connect():
try:
wpas = wpaspy.Ctrl(ctrl)
return wpas
- except Exception, e:
+ except Exception as e:
pass
return None