This commit is contained in:
Lili (Tlapka) 2024-10-06 11:08:50 +02:00
parent 9f89a2a892
commit 6758829634

View File

@ -224,6 +224,6 @@ def is_redeem_from_config_active(redeem: Redeem, active_categories: list[str]) -
return True
def remove_inactive_redeems(redeems: Redeems, active_categories: list[str]) -> Redeems]:
def remove_inactive_redeems(redeems: Redeems, active_categories: list[str]) -> Redeems:
return dict(filter(lambda redeem: is_redeem_from_config_active(redeem, active_categories),
redeems.items()))