Address lint concern

This commit is contained in:
Hamish Coleman 2021-11-01 19:22:26 +00:00
parent fbad36705e
commit bcb3c223d9

View File

@ -39,7 +39,7 @@ def import_filename(modulename, filename):
try:
loader.exec_module(module)
except FileNotFoundError as e:
except FileNotFoundError:
print("Script {} not found".format(pathname), file=sys.stderr)
sys.exit(1)
return module