fix remEmptyCards filter arg order

This commit is contained in:
Damien Elmes 2012-04-18 01:59:38 +09:00
parent 55812bef86
commit 44d62d6a41

View file

@ -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