commit | 6d60745270be63bc2ae28f7a0530c90f6484232e | [log] [tgz] |
---|---|---|
author | Greg Stein <gstein@gmail.com> | Fri Dec 06 03:51:21 2019 -0600 |
committer | Greg Stein <gstein@gmail.com> | Fri Dec 06 03:51:21 2019 -0600 |
tree | b4eb4dd3b8d2c1aa321adb4b0dcb5240a5901ef0 | |
parent | 46e5bc8e9eac7a3fee1f8c95ddb8cea81e507614 [diff] | |
parent | d8d5aabb5ce34a16aaecbd729254aca74cf1f9c2 [diff] |
Merge branch 'master' of https://github.com/apache/infrastructure-otp
diff --git a/otp.py b/otp.py index d146bfa..a13b40e 100755 --- a/otp.py +++ b/otp.py
@@ -55,7 +55,7 @@ def new_password(): "Generate a password." # Stick to printable characters. - return ''.join(chr(random.randint(33,127)) for _ in range(PASSWORD_LEN)).encode() + return ''.join(chr(random.randint(33, 126)) for _ in range(PASSWORD_LEN)).encode() def otp_md5(begin, seq):