Skip to content

Commit

Permalink
Trivial concision update
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed May 8, 2019
1 parent ba6cac7 commit 47537aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
from thirdparty import six

# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.5.45"
VERSION = "1.3.5.46"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
Expand Down
4 changes: 2 additions & 2 deletions sqlmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
from lib.core.settings import UNICODE_ENCODING
from lib.core.settings import VERSION
from lib.parse.cmdline import cmdLineParser
from thirdparty.six import PY2
from thirdparty import six
except KeyboardInterrupt:
errMsg = "user aborted"

Expand Down Expand Up @@ -170,7 +170,7 @@ def main():
os._exitcode = 1 - (liveTest() or 0)
else:
from lib.controller.controller import start
if conf.profile and PY2:
if conf.profile and six.PY2:
from lib.core.profiling import profile
globals()["start"] = start
profile()
Expand Down

0 comments on commit 47537aa

Please sign in to comment.