In this line: `keys_saved_dir = os.path.join(CURRENT_PARTICIPANT_DIR, "keys") if CURRENT_PARTICIPANT_DIR else KEYS_DIR` If the code reaches the else will throw an error because KEYS_DIR is not defined.
In this line:
keys_saved_dir = os.path.join(CURRENT_PARTICIPANT_DIR, "keys") if CURRENT_PARTICIPANT_DIR else KEYS_DIRIf the code reaches the else will throw an error because KEYS_DIR is not defined.