From 44d62d6a4193c2e71b8b9bb5865b0de5bb58eed8 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 18 Apr 2012 01:59:38 +0900 Subject: [PATCH] fix remEmptyCards filter arg order --- anki/collection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/collection.py b/anki/collection.py index 8bcdb04c6..421e2e4d3 100644 --- a/anki/collection.py +++ b/anki/collection.py @@ -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