mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 16:26:40 -04:00
fix remEmptyCards filter arg order
This commit is contained in:
parent
55812bef86
commit
44d62d6a41
1 changed files with 1 additions and 1 deletions
|
@ -381,7 +381,7 @@ select id from notes where id in %s and id not in (select nid from cards)""" %
|
||||||
def remEmptyCards(self, ids):
|
def remEmptyCards(self, ids):
|
||||||
if not ids:
|
if not ids:
|
||||||
return
|
return
|
||||||
if runFilter("remEmptyCards", len(ids), True):
|
if runFilter("remEmptyCards", True, len(ids)):
|
||||||
self.remCards(ids)
|
self.remCards(ids)
|
||||||
|
|
||||||
# Field checksums and sorting fields
|
# Field checksums and sorting fields
|
||||||
|
|
Loading…
Reference in a new issue