Missed some PEP8 fixes.
Course progress is now calculated properly when uncompleting a task.