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
1 changed files with 9 additions and 9 deletions

View File

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