diff options
Diffstat (limited to 'python/download_emails.py')
| -rw-r--r-- | python/download_emails.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/download_emails.py b/python/download_emails.py index eff9f867..1453b51c 100644 --- a/python/download_emails.py +++ b/python/download_emails.py @@ -111,7 +111,7 @@ def main(): if msg['id'] not in current_msgs: try: subject, content = msg_content(get_msg(service, 'me', msg['id'])) - except binascii.Error: + except (binascii.Error, KeyError): print("error decoding {0}".format(msg['id'])) continue else: |
