Commit 8dfdd67
qun-wei.lin
Fix ValueError in get_submission() when doing int()
If the result of get_submissions() contains some invalid submissions, such as compile error,
it will cause get_submission() to get a non-integer value when fetching the runtime, which will cause a ValueError.
Signed-off-by: qun-wei.lin <[email protected]>1 parent 2ecaf6b commit 8dfdd67
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
544 | | - | |
| 544 | + | |
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| |||
0 commit comments