mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-12 02:22:55 +00:00
Patch for an Issue #1158
This commit is contained in:
@@ -62,7 +62,7 @@ def modulePath():
|
||||
except NameError:
|
||||
_ = inspect.getsourcefile(modulePath)
|
||||
|
||||
return os.path.dirname(os.path.realpath(getUnicode(_, sys.getfilesystemencoding())))
|
||||
return getUnicode(os.path.dirname(os.path.realpath(_)), sys.getfilesystemencoding())
|
||||
|
||||
def main():
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user