File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
grader_service/autograding Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -489,17 +489,17 @@ def _determine_cell_timeout(self):
489489 f"Found custom cell timeout in assignment settings: { custom_cell_timeout } seconds."
490490 )
491491 if custom_cell_timeout < self .min_cell_timeout :
492- custom_cell_timeout = self .min_cell_timeout
492+ cell_timeout = self .min_cell_timeout
493493 self .log .info (
494494 f"Custom cell timeout is smaller than the minimum, setting it to the minimum value: { custom_cell_timeout } ."
495495 )
496496 elif custom_cell_timeout > self .max_cell_timeout :
497- custom_cell_timeout = self .max_cell_timeout
497+ cell_timeout = self .max_cell_timeout
498498 self .log .info (
499499 f"Custom cell timeout is bigger than the maximum, setting it to the maximum value: { custom_cell_timeout } ."
500500 )
501-
502- cell_timeout = custom_cell_timeout
501+ else :
502+ cell_timeout = custom_cell_timeout
503503
504504 return cell_timeout
505505
You can’t perform that action at this time.
0 commit comments