mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
minor cleanup
This commit is contained in:
parent
7107e8fd6a
commit
19a82e151c
|
@ -1036,8 +1036,7 @@ def sanitizeAsciiString(subject):
|
||||||
if not index:
|
if not index:
|
||||||
return subject
|
return subject
|
||||||
else:
|
else:
|
||||||
retVal = subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
|
return subject[:index] + "".join(subject[i] if ord(subject[i]) < 128 else '?' for i in xrange(index, len(subject)))
|
||||||
return retVal
|
|
||||||
else:
|
else:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user