Skip to content


Avoid infinite loop in quoteString
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Jun 6, 2017
1 parent 35f7839 commit c36727d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/db_plugins/
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def quoteId(self, identifier):
def quoteString(self, txt):
""" make the string safe - replace ' with '' """
if hasattr(txt, '__iter__'):
if hasattr(txt, '__iter__') and not isinstance(txt, str):
txts = list()
for i in txt:
if i is None:
Expand Down

0 comments on commit c36727d

Please sign in to comment.