Skip to content

Commit da682f0

Browse files
committed
Add more comments
1 parent 7f23b2b commit da682f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def complete_task(task_id) -> Response: # complete task from task id
251251
elif days_to_due == 0: # if task due date is today
252252
next_midnight: datetime = datetime.combine(
253253
datetime.now().date() + timedelta(days=1), datetime.min.time()
254-
)
254+
) # time at next midnight from now
255255
due_multiplier = 4 / (
256256
1 + (next_midnight - datetime.now()) / timedelta(days=1)
257257
) # set due multiplier to 2 and increases over time to 4 at midnight

0 commit comments

Comments
 (0)