rewrite space warning

This commit is contained in:
Lili (Tlapka) 2024-02-06 20:16:54 +01:00
parent 7722bdf608
commit 384ca03e23
1 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,8 @@ def create_app(test_config=None):
# Check for spaces in redeems (they won't work)
for redeem, _ in app.config['REDEEMS']:
if ' ' in redeem:
app.logger.warning(f"Redeem {redeem} has spaces in its name. It will be impossible to redeem.")
app.logger.warning(f"Redeem {redeem} has spaces in its name.")
app.logger.warning("Redeems with spaces are impossible to redeem.")
# prepare webhooks and redeem dashboard blueprints