Cosmetic clean ups.

This commit is contained in:
philip 2021-12-15 16:00:18 +03:00
parent 45a6e5e79f
commit 10cbb1344d
Signed by: mango-habanero
GPG Key ID: B00CE9034DA19FB7

View File

@ -105,10 +105,10 @@ class Extension:
r = f.read() r = f.read()
f.close() f.close()
self.parse_code_as_hex(r) self.parse_code_as_hex(r)
except FileNotFoundError: except FileNotFoundError as e:
logg.debug('could not parse code as file: {}'.format(e)) logg.debug('could not parse code as file: {}'.format(e))
pass pass
except IsADirectoryError: except IsADirectoryError as e:
logg.debug('could not parse code as file: {}'.format(e)) logg.debug('could not parse code as file: {}'.format(e))
pass pass