Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lowrank committed Sep 19, 2024
1 parent 9f0846b commit a811fef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions grader.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ def grade(self, hw_str='hw00', output_file='grades.csv'):

student_info = Path(student_file).stem.split('_')[:2]

if student_info[-1] == 'LATE':
student_info = Path(student_file).stem.split('_')[0], Path(student_file).stem.split('_')[2]

data = self.grade_standard_file(hw_str, student_dir)

Expand Down

0 comments on commit a811fef

Please sign in to comment.