Skip to content

Commit

Permalink
Default to yes on banner import if the file exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
meisterT committed Apr 15, 2024
1 parent b5d995e commit f7d15a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc-tools/import-contest.in
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def import_contest_banner(cid: str):
break

if banner_file:
if dj_utils.confirm(f'Import {banner_file} for contest?', False):
if dj_utils.confirm(f'Import {banner_file} for contest?', True):
dj_utils.upload_file(f'contests/{cid}/banner', 'banner', banner_file)
print('Contest banner imported.')
else:
Expand Down

0 comments on commit f7d15a1

Please sign in to comment.