Gitlab CSE Unil

Commit 73c9676e authored by Julien Furrer's avatar Julien Furrer
Browse files

fixed typo

parent 78868e9d
......@@ -62,7 +62,7 @@ def get_attp_message(attp_msg64, attp_hash):
attp_msg_cache_key = "attp_{}{}".format(attp_id, attp_hash)
if cache.get(attp_msg_cache_key) is not None:
# Message hash already used
raise Exception("ATTP message resuse error")
raise Exception("ATTP message reuse error")
cache.set(attp_msg_cache_key, 1, ATTP_MSG_TIMEOUT + 1)
# Check hash validity
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment