Adding support for symbolic linking sqlmap.py

This commit is contained in:
Miroslav Stampar 2013-02-12 15:48:49 +01:00
parent 6a98d375b1
commit cf6c3a84b5

View File

@ -48,7 +48,7 @@ def modulePath():
using py2exe
"""
return os.path.dirname(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding()))
return os.path.dirname(os.path.realpath(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding())))
def main():
"""