Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 47537aa

Browse files
committed
Trivial concision update
1 parent ba6cac7 commit 47537aa

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty import six
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.3.5.45"
21+
VERSION = "1.3.5.46"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

sqlmap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
from lib.core.settings import UNICODE_ENCODING
7373
from lib.core.settings import VERSION
7474
from lib.parse.cmdline import cmdLineParser
75-
from thirdparty.six import PY2
75+
from thirdparty import six
7676
except KeyboardInterrupt:
7777
errMsg = "user aborted"
7878

@@ -170,7 +170,7 @@ def main():
170170
os._exitcode = 1 - (liveTest() or 0)
171171
else:
172172
from lib.controller.controller import start
173-
if conf.profile and PY2:
173+
if conf.profile and six.PY2:
174174
from lib.core.profiling import profile
175175
globals()["start"] = start
176176
profile()

0 commit comments

Comments
 (0)