bugfix
This commit is contained in:
parent
acf3037527
commit
dafda0adc8
@ -22,7 +22,7 @@ def validate_code(id, cnt=6):
|
|||||||
j += 1
|
j += 1
|
||||||
if len(code) >= cnt:
|
if len(code) >= cnt:
|
||||||
break
|
break
|
||||||
return code
|
return ''.join(code)
|
||||||
|
|
||||||
def check_code(id, code):
|
def check_code(id, code):
|
||||||
c = validate_code(id)
|
c = validate_code(id)
|
||||||
|
Loading…
Reference in New Issue
Block a user