Wayward fix
This commit is contained in:
parent
cf7ee32a29
commit
43f1a70c9e
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ def generate(random):
|
||||||
def grade(autogen, answer):
|
def grade(autogen, answer):
|
||||||
key = "".join([autogen.choice("0123456789abcdef") for i in range(32)])
|
key = "".join([autogen.choice("0123456789abcdef") for i in range(32)])
|
||||||
autogen.seed("super%secretkeylalalala" % key)
|
autogen.seed("super%secretkeylalalala" % key)
|
||||||
flag = "".join([random.choice("012456789abcdef") for i in range(32)])
|
flag = "".join([random.choice("0123456789abcdef") for i in range(32)])
|
||||||
if answer.find(flag) != -1:
|
if answer.find(flag) != -1:
|
||||||
return True, "Correct!"
|
return True, "Correct!"
|
||||||
return False, "Nope, try again."
|
return False, "Nope, try again."
|
Loading…
Reference in a new issue