bugfix: check_apply_milestone was []ing None
This commit is contained in:
@@ -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("Milestone not found in database.")
|
||||||
current_app.logger.warning("Maybe you forgot to run the refresh-milestones CLI command "
|
current_app.logger.warning("Maybe you forgot to run the refresh-milestones CLI command "
|
||||||
"after you added a new milestone to the config?")
|
"after you added a new milestone to the config?")
|
||||||
|
else:
|
||||||
progress, goal = row
|
progress, goal = row
|
||||||
if progress == goal:
|
if progress == goal:
|
||||||
cursor = db.execute(
|
cursor = db.execute(
|
||||||
|
|||||||
Reference in New Issue
Block a user