Make quotes consistent with surroundings

This commit is contained in:
Alexey Lebedeff 2018-12-01 10:52:19 +01:00
parent 3d69aa9ce4
commit 292764a40a

View File

@ -440,7 +440,7 @@ select distinct(n.id) from cards c, notes n where c.nid=n.id and """+preds
# nothing has that field # nothing has that field
return return
# gather nids # gather nids
regex = re.escape(val).replace("_", ".").replace(re.escape('%'), ".*") regex = re.escape(val).replace("_", ".").replace(re.escape("%"), ".*")
nids = [] nids = []
for (id,mid,flds) in self.col.db.execute(""" for (id,mid,flds) in self.col.db.execute("""
select id, mid, flds from notes select id, mid, flds from notes