mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-21 15:42:30 +01:00
Patch for an Issue #954
This commit is contained in:
parent
ee8b3ee664
commit
484fa61afc
1 changed files with 1 additions and 1 deletions
|
|
@ -942,7 +942,7 @@ def _setTamperingFunctions():
|
|||
|
||||
try:
|
||||
module = __import__(filename[:-3])
|
||||
except ImportError, msg:
|
||||
except (ImportError, SyntaxError), msg:
|
||||
raise SqlmapSyntaxException("cannot import tamper script '%s' (%s)" % (filename[:-3], msg))
|
||||
|
||||
priority = PRIORITY.NORMAL if not hasattr(module, '__priority__') else module.__priority__
|
||||
|
|
|
|||
Loading…
Reference in a new issue