mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor fix
This commit is contained in:
parent
8793fbc9f5
commit
12d7c4fe3c
|
@ -53,10 +53,7 @@ def modulePath():
|
||||||
using py2exe
|
using py2exe
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if weAreFrozen():
|
return os.path.dirname(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding()))
|
||||||
return os.path.dirname(getUnicode(sys.executable, sys.getfilesystemencoding()))
|
|
||||||
else:
|
|
||||||
return os.path.dirname(os.path.realpath(__file__))
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user