The captcha thingy doesn't work all that well...

This commit is contained in:
Morten Delenk 2016-06-12 18:41:09 +02:00
parent 50671c5403
commit a548fc44c1

View file

@ -18,6 +18,7 @@ try:
random.seed(seed) random.seed(seed)
print("3") print("3")
checkstr=list("".join(random.choice(string.digits+string.ascii_lowercase) for _ in range(5))) checkstr=list("".join(random.choice(string.digits+string.ascii_lowercase) for _ in range(5)))
print(checkstr)
print("4") print("4")
if not checkstr == form["checkstr"].value: if not checkstr == form["checkstr"].value:
print("Captcha's wrong") print("Captcha's wrong")