mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
renamed variable to avoid confusion
This commit is contained in:
parent
07fe6d44fb
commit
d015bf98fc
|
@ -20,14 +20,14 @@ LOGGER_HANDLER = None
|
||||||
try:
|
try:
|
||||||
from thirdparty.ansistrm.ansistrm import ColorizingStreamHandler
|
from thirdparty.ansistrm.ansistrm import ColorizingStreamHandler
|
||||||
|
|
||||||
disableColoring = False
|
disableColor = False
|
||||||
|
|
||||||
for argument in sys.argv:
|
for argument in sys.argv:
|
||||||
if "disable-col" in argument:
|
if "disable-col" in argument:
|
||||||
disableColoring = True
|
disableColor = True
|
||||||
break
|
break
|
||||||
|
|
||||||
if disableColoring:
|
if disableColor:
|
||||||
LOGGER_HANDLER = logging.StreamHandler(sys.stdout)
|
LOGGER_HANDLER = logging.StreamHandler(sys.stdout)
|
||||||
else:
|
else:
|
||||||
LOGGER_HANDLER = ColorizingStreamHandler(sys.stdout)
|
LOGGER_HANDLER = ColorizingStreamHandler(sys.stdout)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user