Skip to content

Commit c1a597e

Browse files
codenamelxlandialbrecht
authored andcommitted
add backtick to remove_quotes character list
1 parent 893d7b2 commit c1a597e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sqlparse/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def remove_quotes(val):
5555
"""Helper that removes surrounding quotes from strings."""
5656
if val is None:
5757
return
58-
if val[0] in ('"', "'") and val[0] == val[-1]:
58+
if val[0] in ('"', "'", '`') and val[0] == val[-1]:
5959
val = val[1:-1]
6060
return val
6161

0 commit comments

Comments
 (0)