Skip to content

Commit b1d13d1

Browse files
committed
Patch for an Issue sqlmapproject#1158
1 parent 2473848 commit b1d13d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def modulePath():
6262
except NameError:
6363
_ = inspect.getsourcefile(modulePath)
6464

65-
return os.path.dirname(os.path.realpath(getUnicode(_, sys.getfilesystemencoding())))
65+
return getUnicode(os.path.dirname(os.path.realpath(_)), sys.getfilesystemencoding())
6666

6767
def main():
6868
"""

0 commit comments

Comments
 (0)