Skip to content

Commit

Permalink
add backtick to remove_quotes character list
Browse files Browse the repository at this point in the history
  • Loading branch information
codenamelxl authored and andialbrecht committed Aug 24, 2022
1 parent 893d7b2 commit c1a597e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlparse/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def remove_quotes(val):
"""Helper that removes surrounding quotes from strings."""
if val is None:
return
if val[0] in ('"', "'") and val[0] == val[-1]:
if val[0] in ('"', "'", '`') and val[0] == val[-1]:
val = val[1:-1]
return val

Expand Down

0 comments on commit c1a597e

Please sign in to comment.