We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44c88e7 commit 16ff5acCopy full SHA for 16ff5ac
1 file changed
brood/actions.py
@@ -342,7 +342,7 @@ def generate_verification_code(
342
if randint_generator is None:
343
randint_generator = randint
344
345
- verification_code_int = randint_generator(0, 10 ** 6 - 1)
+ verification_code_int = randint_generator(0, 10**6 - 1)
346
verification_code_raw = str(verification_code_int)
347
verification_code = f"{'0'*(6 - len(verification_code_raw))}{verification_code_raw}"
348
return verification_code
0 commit comments