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