mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 00:21:11 +02:00
Address lint concern
This commit is contained in:
parent
fbad36705e
commit
bcb3c223d9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user