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