mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
minor comment added
This commit is contained in:
parent
53289c6a42
commit
61120b0bac
|
@ -1402,7 +1402,7 @@ def getUnicode(value, encoding=None):
|
||||||
if isinstance(value, basestring):
|
if isinstance(value, basestring):
|
||||||
return value if isinstance(value, unicode) else unicode(value, encoding, errors='replace')
|
return value if isinstance(value, unicode) else unicode(value, encoding, errors='replace')
|
||||||
else:
|
else:
|
||||||
return unicode(value)
|
return unicode(value) #encoding ignored for non-basestring instances
|
||||||
|
|
||||||
def getBruteUnicode(string):
|
def getBruteUnicode(string):
|
||||||
retVal = unicode()
|
retVal = unicode()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user