mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
Patch for an Issue #1158
This commit is contained in:
parent
247384858e
commit
b1d13d1e7d
|
@ -62,7 +62,7 @@ def modulePath():
|
||||||
except NameError:
|
except NameError:
|
||||||
_ = inspect.getsourcefile(modulePath)
|
_ = 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():
|
def main():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user