mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor patch
This commit is contained in:
parent
accfbf958e
commit
71c141ef86
3 changed files with 4 additions and 4 deletions
|
|
@ -22,8 +22,8 @@ try:
|
|||
from thirdparty.ansistrm.ansistrm import ColorizingStreamHandler
|
||||
|
||||
class _ColorizingStreamHandler(ColorizingStreamHandler):
|
||||
def colorize(self, message, levelno):
|
||||
if levelno in self.level_map and self.is_tty:
|
||||
def colorize(self, message, levelno, force=False):
|
||||
if levelno in self.level_map and self.is_tty or force:
|
||||
bg, fg, bold = self.level_map[levelno]
|
||||
params = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue