diff options
-rw-r--r-- | hercules/code/stringutils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hercules/code/stringutils.py b/hercules/code/stringutils.py index a442ae7..9dcbff8 100644 --- a/hercules/code/stringutils.py +++ b/hercules/code/stringutils.py @@ -35,6 +35,7 @@ def stripNewLine(data): return data def escapeSqlStr(data): + data = data.replace("\\", "\\\\"); data = data.replace("'", "\\'"); data = data.replace("`", "\\`"); data = data.replace("{", "\\{"); |