mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Patch for Python 2.6
This commit is contained in:
parent
f8eed1f365
commit
09be7cb361
14 changed files with 14 additions and 14 deletions
|
|
@ -34,7 +34,7 @@ def convert(inputFile):
|
|||
fileContent = fp.read()
|
||||
|
||||
for fileChar in fileContent:
|
||||
unsignedFileChar = fileChar if sys.version_info.major > 2 else ord(fileChar)
|
||||
unsignedFileChar = fileChar if sys.version_info >= (3, 0) else ord(fileChar)
|
||||
|
||||
if unsignedFileChar != 0:
|
||||
counter2 += 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue