We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 966677e commit a842db8Copy full SHA for a842db8
app.py
@@ -203,7 +203,7 @@ def add_task() -> Response: # add the task to the task list
203
def complete_task(task_id) -> Response: # complete task from task id
204
task = Task.query.get(task_id) # get task by task id
205
if task:
206
- due_multiplier = 1.0 # set default due multiplier to 1
+ due_multiplier: float = 1.0 # set default due multiplier to 1
207
if task.repeat_often == 5: # if the task is a one-time task
208
task.completed = True # complete the task
209
else: # if task is repeatable
0 commit comments