Fixed MySQL BETWEEN tamper script

This commit is contained in:
Bernardo Damele 2010-10-29 23:03:02 +00:00
parent 8cf0ebde1e
commit 5ba36f89df

View File

@ -17,13 +17,10 @@ def tamper(value):
if value: if value:
retVal = "" retVal = ""
quote, doublequote, firstspace = False, False, False quote, doublequote = False, False
for i in xrange(len(value)): for i in xrange(len(value)):
if not firstspace:
if value[i].isspace(): if value[i].isspace():
firstspace = True
retVal += " " retVal += " "
continue continue