Skip to content

Commit a2aeb27

Browse files
author
DOMjudge team
committed
Default to uploading the problemset if it exists.
1 parent 3c6b2d6 commit a2aeb27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc-tools/import-contest.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def import_contest_problemset_document(cid: str):
126126
break
127127

128128
if text_file:
129-
if dj_utils.confirm(f'Import {text_file} for contest?', False):
129+
if dj_utils.confirm(f'Import {text_file} for contest?', True):
130130
dj_utils.upload_file(f'contests/{cid}/problemset', 'problemset', text_file)
131131
print('Contest problemset imported.')
132132
else:

0 commit comments

Comments
 (0)