diff --git a/lib/parse/payloads.py b/lib/parse/payloads.py index 89e077098..24e481b12 100644 --- a/lib/parse/payloads.py +++ b/lib/parse/payloads.py @@ -20,13 +20,13 @@ def cleanupVals(text, tag): text = text.split(',') if isinstance(text, basestring): - text = int(text) if text.isdigit() else str(text) + text = int(text) if text.isdigit() else text elif isinstance(text, list): count = 0 for _ in text: - text[count] = int(_) if _.isdigit() else str(_) + text[count] = int(_) if _.isdigit() else _ count += 1 if len(text) == 1 and tag not in ("clause", "where"):