File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed 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.9.21 "
21+ VERSION = "1.3.9.22 "
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 1515from lib .core .common import getSafeExString
1616from lib .core .common import openFile
1717from lib .core .compat import xrange
18+ from lib .core .convert import getUnicode
1819from lib .core .data import logger
1920from thirdparty .six import unichr as _unichr
2021
@@ -84,4 +85,4 @@ def purge(directory):
8485 try :
8586 shutil .rmtree (directory )
8687 except OSError as ex :
87- logger .error ("problem occurred while removing directory '%s' ('%s')" % (directory , getSafeExString (ex )))
88+ logger .error ("problem occurred while removing directory '%s' ('%s')" % (getUnicode ( directory ) , getSafeExString (ex )))
You can’t perform that action at this time.
0 commit comments