Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3454e35

Browse files
committed
Fixes #1621
1 parent 7411ff9 commit 3454e35

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/parse/payloads.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ def cleanupVals(text, tag):
2020
text = text.split(',')
2121

2222
if isinstance(text, basestring):
23-
text = int(text) if text.isdigit() else str(text)
23+
text = int(text) if text.isdigit() else text
2424

2525
elif isinstance(text, list):
2626
count = 0
2727

2828
for _ in text:
29-
text[count] = int(_) if _.isdigit() else str(_)
29+
text[count] = int(_) if _.isdigit() else _
3030
count += 1
3131

3232
if len(text) == 1 and tag not in ("clause", "where"):

0 commit comments

Comments
 (0)