if deck contains brackets, escape search string

This commit is contained in:
Damien Elmes 2012-09-13 05:23:21 +09:00
parent 06abd253df
commit 4bdf673f0c

View file

@ -687,7 +687,7 @@ by clicking on one on the left."""))
txt += a + ":" txt += a + ":"
else: else:
txt += a txt += a
if " " in txt: if " " in txt or "(" in txt or ")" in txt:
txt = "'%s'" % txt txt = "'%s'" % txt
items.append(txt) items.append(txt)
txt = "" txt = ""