From 971f59a27eb4e2e7108e88a22889e2f420da3fc5 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 4 Aug 2015 10:28:43 +0200 Subject: [PATCH] Minor update --- sqlmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlmap.py b/sqlmap.py index 161aa6727..ad1451556 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -60,7 +60,7 @@ def modulePath(): except NameError: _ = inspect.getsourcefile(modulePath) - return getUnicode(os.path.dirname(os.path.realpath(_)), sys.getfilesystemencoding()) + return getUnicode(os.path.dirname(os.path.realpath(_)), encoding=sys.getfilesystemencoding()) def main(): """