Name static file archives according to challenge ID

Makes it easier for players to identify downloaded archives.
This commit is contained in:
sudoBash418 2023-01-17 00:04:51 -07:00
parent 7217383cdd
commit 2f7ea5e69f
Signed by: sudoBash418
GPG key ID: A75052AB46BFA091

View file

@ -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():