bugfix: check_apply_milestone was []ing None

This commit is contained in:
Lili (Tlapka) 2023-03-27 16:38:05 +02:00
parent 1b02624dea
commit d372ed6e6b
1 changed files with 9 additions and 8 deletions

View File

@ -124,6 +124,7 @@ def check_apply_milestone_completion(db, redeem_name):
current_app.logger.warning("Milestone not found in database.")
current_app.logger.warning("Maybe you forgot to run the refresh-milestones CLI command "
"after you added a new milestone to the config?")
else:
progress, goal = row
if progress == goal:
cursor = db.execute(