Minor patch

This commit is contained in:
Miroslav Stampar
2018-01-15 13:53:46 +01:00
parent e5ab678db0
commit 18626656ec
3 changed files with 5 additions and 5 deletions

View File

@@ -2584,9 +2584,9 @@ def _basicOptionValidation():
if conf.encoding:
_ = checkCharEncoding(conf.encoding, False)
if _ is None:
errMsg = "unknown charset '%s'. Please visit " % conf.encoding
errMsg = "unknown encoding '%s'. Please visit " % conf.encoding
errMsg += "'%s' to get the full list of " % CODECS_LIST_PAGE
errMsg += "supported charsets"
errMsg += "supported encodings"
raise SqlmapSyntaxException(errMsg)
else:
conf.encoding = _