mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Dealing with basesting (one baby step closer to Py3 salvation)
This commit is contained in:
parent
915bc1fc99
commit
afe497a954
25 changed files with 112 additions and 98 deletions
|
|
@ -24,8 +24,8 @@ def cleanupVals(text, tag):
|
|||
if tag in ("clause", "where"):
|
||||
text = text.split(',')
|
||||
|
||||
if isinstance(text, basestring):
|
||||
text = int(text) if text.isdigit() else text
|
||||
if hasattr(text, "isdigit") and text.isdigit():
|
||||
text = int(text)
|
||||
|
||||
elif isinstance(text, list):
|
||||
count = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue