mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-26 19:44:53 +02:00
Flake8 fix
This commit is contained in:
@@ -362,7 +362,7 @@ class Page:
|
||||
try:
|
||||
for src in mydict:
|
||||
self.script('', src=src, type='text/javascript')
|
||||
except:
|
||||
except Exception:
|
||||
raise TypeError("Script should be given a dictionary of src:type pairs or a list of javascript src's.")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user