Minor patch

This commit is contained in:
Miroslav Stampar
2019-02-25 17:19:42 +01:00
parent eb862d03eb
commit 581e4103c0
3 changed files with 4 additions and 4 deletions

View File

@@ -4781,7 +4781,7 @@ def getSafeExString(ex, encoding=None):
Safe way how to get the proper exception represtation as a string
(Note: errors to be avoided: 1) "%s" % Exception(u'\u0161') and 2) "%s" % str(Exception(u'\u0161'))
>>> getSafeExString(Exception('foobar'))
>>> getSafeExString(SqlmapBaseException('foobar'))
u'foobar'
"""