Skip to content

Commit f4aeede

Browse files
committed
Add more detailed comments in Python
1 parent 4421ac8 commit f4aeede

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
@@ -475,7 +475,7 @@ def complete_task(task_id) -> Response: # complete task from task ID
475475
)
476476
* (1 + math.log(max(user.rating + 1, 1)))
477477
)
478-
) # add XP
478+
) # add XP based on task and user statistics
479479
db.session.commit() # commit database changes
480480
return redirect(url_for("index")) # redirect to index page template
481481

0 commit comments

Comments
 (0)