From f4fd632a4185704b00583920ddcff6f8b34db66c Mon Sep 17 00:00:00 2001 From: Saul Crumpton Date: Tue, 21 Jul 2020 21:36:18 -0400 Subject: [PATCH] fixing deck config searching --- __init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index ce5d72e..c0c5504 100644 --- a/__init__.py +++ b/__init__.py @@ -66,7 +66,8 @@ def new_cards_in_settings_group(name): group_id = find_settings_group_id(name) if group_id: # Find decks and cycle through - decks = find_decks_in_settings_group(group_id) + # decks = find_decks_in_settings_group(group_id) + decks= mw.col.decks.didsForConf({"id":group_id}) for d in decks: new_cards += new_cards_in_deck(d) new_today += first_seen_cards_in_deck(d)