Name static file archives according to challenge ID
Makes it easier for players to identify downloaded archives.
This commit is contained in:
parent
7217383cdd
commit
2f7ea5e69f
|
@ -421,7 +421,7 @@ class Challenge:
|
|||
archive.close()
|
||||
|
||||
# add archive to file list
|
||||
file_contents[f"challenge-files.tar"] = archive_buf
|
||||
file_contents[f"{self.challenge_id}.tar"] = archive_buf
|
||||
else:
|
||||
# read files into memory
|
||||
for filepath in self._get_all_static_files():
|
||||
|
|
Loading…
Reference in a new issue