1. Richard Lawrence
  2. schoolutils

Commits

Richard Lawrence  committed 499862b

* schoolutils/grading/ui.py: fix indentation issue (thanks, pylint)

  • Participants
  • Parent commits b18377c
  • Branches master

Comments (0)

Files changed (1)

File schoolutils/grading/ui.py

View file
                             course=self.course_formatter(course)))
                     # offer to add to course, but don't refuse to continue if not
                     if typed_input("Add this student to the course? (Y/N) ", yn_bool):
-                       db.create_course_member(self.db_connection,
-                                               student_id=student['id'],
-                                               course_id=self.course_id)
+                        db.create_course_member(self.db_connection,
+                                                student_id=student['id'],
+                                                course_id=self.course_id)
                     else:
                         print("WARNING: grades for this student will not be "
                               "calculated or reported unless you add him or her "