mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
Merge branch 'master' of github.com:dae/ankiqt
This commit is contained in:
commit
1d5ddc6157
1 changed files with 2 additions and 2 deletions
|
@ -233,8 +233,8 @@ body { margin: 1em; -webkit-user-select: none; }
|
|||
if not deck['dyn']:
|
||||
dids = [did] + [r[1] for r in self.mw.col.decks.children(did)]
|
||||
cnt = self.mw.col.db.scalar(
|
||||
"select count() from cards where did in %s" %
|
||||
ids2str(dids))
|
||||
"select count() from cards where did in {0} or "
|
||||
"odid in {0}".format(ids2str(dids)))
|
||||
if cnt:
|
||||
extra = _(" It has %d cards.") % cnt
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue