Skip to content

Commit 871ebfd

Browse files
committed
1 parent d346192 commit 871ebfd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from 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"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/utils/purge.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
from lib.core.common import getSafeExString
1616
from lib.core.common import openFile
1717
from lib.core.compat import xrange
18+
from lib.core.convert import getUnicode
1819
from lib.core.data import logger
1920
from 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)))

0 commit comments

Comments
 (0)