Skip to content

Commit

Permalink
Fix TypeError in site when judge sends None case points
Browse files Browse the repository at this point in the history
Default points to 1, since we do this for test automatching anyway.

Fixes DMOJ#659.
  • Loading branch information
Xyene committed May 9, 2020
1 parent a98f129 commit 165bc6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dmoj/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __init__(self, problem_id, time_limit, memory_limit, meta):
'output_limit_length': 25165824,
'binary_data': False,
'short_circuit': True,
'points': 1,
'symlinks': {},
'meta': meta,
},
Expand Down

0 comments on commit 165bc6e

Please sign in to comment.