Skip to content

Commit 5249b17

Browse files
committed
fixed exception typo
1 parent 0b17612 commit 5249b17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_pyportal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ def hide_QR(self):
847847
else:
848848
try:
849849
self._qr_group.pop()
850-
except IndexError, AttributeError: # later test if empty
850+
except (IndexError, AttributeError): # later test if empty
851851
pass
852852

853853
# return a list of lines with wordwrapping

0 commit comments

Comments
 (0)