Skip to content

Commit

Permalink
Fixing the data cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
domenicosolazzo committed Jul 5, 2016
1 parent 15d107c commit de3f464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/utils/input/DataCleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def filterCharacters(self, text=""):
character = "\""
matches = text.split(character)
# It should be a json in this format {"data": "<value>"}
if len(matches) <= 4:
if len(matches) <= 5:
return text # Do not do anything

replacedText = "%s\"%s\"%s" % ("\"".join(matches[0:3]), " ".join(matches[3:-1]), matches[-1])
Expand Down

0 comments on commit de3f464

Please sign in to comment.