warning improvement

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

View File

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