Being really retarded, pls ignore.
This commit is contained in:
parent
43f1a70c9e
commit
7f4646104a
1 changed files with 1 additions and 1 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("0123456789abcdef") for i in range(32)])
|
flag = "".join([autogen.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