Skip to content

Commit

Permalink
amuselabs: catch another base64 decode error category (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisparker authored Oct 31, 2023
1 parent ca1addb commit 19f3d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xword_dl/downloader/amuselabsdownloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def amuse_b64(e, amuseKey=None):

try:
xword_data = load_rawc(rawc, amuseKey=amuseKey)
except UnicodeDecodeError:
except (UnicodeDecodeError, base64.binascii.Error):
xword_data = load_rawc(rawc, amuseKey=amuseKey2)

return xword_data
Expand Down

0 comments on commit 19f3d0c

Please sign in to comment.