Skip to content

Commit

Permalink
fixing deck config searching
Browse files Browse the repository at this point in the history
  • Loading branch information
Saul Crumpton committed Jul 22, 2020
1 parent 9b9998e commit f4fd632
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f4fd632

Please sign in to comment.