Skip to content

Commit

Permalink
- forgot string specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
dataflake committed Jan 31, 2020
1 parent c394583 commit 5743bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DocumentTemplate/DT_Var.py
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ def text_sql_quote(v):
v = v.replace(char, char * 2)
# Backslash-escape untrusted characters to make them harmless.
for char in ESCAPE_TEXT:
v = v.replace(char, '\\%s' % char)
v = v.replace(char, u'\\%s' % char)
return v


Expand Down

0 comments on commit 5743bdd

Please sign in to comment.