From 292764a40a467b22bba89b2ca863cf1093d4c11f Mon Sep 17 00:00:00 2001 From: Alexey Lebedeff Date: Sat, 1 Dec 2018 10:52:19 +0100 Subject: [PATCH] Make quotes consistent with surroundings --- anki/find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/find.py b/anki/find.py index 213216d4d..378565113 100644 --- a/anki/find.py +++ b/anki/find.py @@ -440,7 +440,7 @@ select distinct(n.id) from cards c, notes n where c.nid=n.id and """+preds # nothing has that field return # gather nids - regex = re.escape(val).replace("_", ".").replace(re.escape('%'), ".*") + regex = re.escape(val).replace("_", ".").replace(re.escape("%"), ".*") nids = [] for (id,mid,flds) in self.col.db.execute(""" select id, mid, flds from notes