Commit 62205150 authored by Administrator's avatar Administrator

[BUGFIX] backlashes from ngrams removed.

parent 32d6d3cb
......@@ -226,7 +226,7 @@ class bulk_insert:
def read(self, size=None):
try:
return self.template % tuple(
str(x).replace('\r', '').replace('\n', '\\n').replace('\t', '\\t') for x in next(self.iter)
str(x).replace('\r', ' ').replace('\n', ' ').replace('\t', ' ').replace("\\","") for x in next(self.iter)
)
except StopIteration:
return ''
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment