Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8793fbc commit 12d7c4fCopy full SHA for 12d7c4f
1 file changed
_sqlmap.py
@@ -53,10 +53,7 @@ def modulePath():
53
using py2exe
54
"""
55
56
- if weAreFrozen():
57
- return os.path.dirname(getUnicode(sys.executable, sys.getfilesystemencoding()))
58
- else:
59
- return os.path.dirname(os.path.realpath(__file__))
+ return os.path.dirname(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding()))
60
61
def main():
62
0 commit comments