From 83cbace0808a00975909f2eac405da47567ffcba Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 20 Feb 2013 15:15:27 +0900 Subject: [PATCH] use double quotes for browser search quoting (#623) when I did a search of AW decks a while back, double quotes were far less prevalent than single quotes. ideally we'll add a way of quoting them in the future. --- aqt/browser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aqt/browser.py b/aqt/browser.py index 53b2fc456..2f96907c6 100644 --- a/aqt/browser.py +++ b/aqt/browser.py @@ -723,7 +723,7 @@ by clicking on one on the left.""")) else: txt += a if " " in txt or "(" in txt or ")" in txt: - txt = "'%s'" % txt + txt = '"%s"' % txt items.append(txt) txt = "" txt = " ".join(items)