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