Skip to content

Commit

Permalink
Add year filter properly #16
Browse files Browse the repository at this point in the history
  • Loading branch information
ghomasHudson committed Jun 13, 2024
1 parent 4686851 commit c7aa7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main(config):
jf_client.clear_collection(collection_id)

for item in list_info['items']:
jf_client.add_item_to_collection(collection_id, item)
jf_client.add_item_to_collection(collection_id, item, year_filter=config["plugins"][plugin_name].get("year_filter", True))


if __name__ == "__main__":
Expand Down

0 comments on commit c7aa7f4

Please sign in to comment.