fix dictionary iteration in redeems

This commit is contained in:
Lili (Tlapka) 2024-02-10 11:31:51 +01:00
parent 384ca03e23
commit 6d3a4671cc
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def create_app(test_config=None):
"Change your config to set 1-character prefix.")
# Check for spaces in redeems (they won't work)
for redeem, _ in app.config['REDEEMS']:
for redeem in app.config['REDEEMS']:
if ' ' in redeem:
app.logger.warning(f"Redeem {redeem} has spaces in its name.")
app.logger.warning("Redeems with spaces are impossible to redeem.")