mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-28 11:08:38 +01:00
Fixes #1495
This commit is contained in:
parent
8fbac5a99e
commit
caafa377a6
1 changed files with 1 additions and 1 deletions
|
|
@ -971,7 +971,7 @@ def _setTamperingFunctions():
|
|||
sys.path.insert(0, dirname)
|
||||
|
||||
try:
|
||||
module = __import__(filename[:-3])
|
||||
module = __import__(filename[:-3].encode(sys.getfilesystemencoding()))
|
||||
except (ImportError, SyntaxError), msg:
|
||||
raise SqlmapSyntaxException("cannot import tamper script '%s' (%s)" % (filename[:-3], msg))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue