rewrite space warning
This commit is contained in:
parent
7722bdf608
commit
384ca03e23
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue