mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Make quotes consistent with surroundings
This commit is contained in:
parent
3d69aa9ce4
commit
292764a40a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue