File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818from thirdparty .six import unichr as _unichr
1919
2020# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21- VERSION = "1.3.5.113 "
21+ VERSION = "1.3.5.114 "
2222TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2323TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2424VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ def output_colorized(self, message):
9494
9595 def output_colorized (self , message ):
9696 parts = self .ansi_esc .split (message )
97- write = self .stream .write
9897 h = None
9998 fd = getattr (self .stream , 'fileno' , None )
10099
@@ -108,7 +107,8 @@ def output_colorized(self, message):
108107 text = parts .pop (0 )
109108
110109 if text :
111- write (text )
110+ self .stream .write (text )
111+ self .stream .flush ()
112112
113113 if parts :
114114 params = parts .pop (0 )
You can’t perform that action at this time.
0 commit comments