mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-29 23:06:39 +08:00
TST: Fix case where there is no existing risk answer key.
The download checksum was not being correctly set when no file existed. Set the checksum to the latest value so that a download is triggered.
This commit is contained in:
@@ -93,6 +93,8 @@ def ensure_latest_answer_key():
|
||||
else:
|
||||
# Assume local copy that is being developed on
|
||||
answer_key_dl_checksum = None
|
||||
else:
|
||||
answer_key_dl_checksum = ANSWER_KEY_CHECKSUMS[-1]
|
||||
|
||||
if answer_key_dl_checksum:
|
||||
res = requests.get(
|
||||
|
||||
Reference in New Issue
Block a user