mirror of
https://github.com/ankitects/anki.git
synced 2025-09-23 08:22:24 -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):
|
||||
if not ids:
|
||||
return
|
||||
if runFilter("remEmptyCards", len(ids), True):
|
||||
if runFilter("remEmptyCards", True, len(ids)):
|
||||
self.remCards(ids)
|
||||
|
||||
# Field checksums and sorting fields
|
||||
|
|
Loading…
Reference in a new issue