Cosmetic clean ups.
This commit is contained in:
parent
45a6e5e79f
commit
10cbb1344d
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user