From f8129721d974db892d8e55ed0f4ccf7eb8528adb Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Thu, 12 Sep 2019 10:23:14 -0400 Subject: [PATCH] Fix failure during cms startup. --- openedx/core/djangoapps/user_api/accounts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openedx/core/djangoapps/user_api/accounts/utils.py b/openedx/core/djangoapps/user_api/accounts/utils.py index 1d8b59b7bc..fdc9bf7b0d 100644 --- a/openedx/core/djangoapps/user_api/accounts/utils.py +++ b/openedx/core/djangoapps/user_api/accounts/utils.py @@ -189,7 +189,7 @@ def generate_password(length=12, chars=string.ascii_letters + string.digits): password = '' password += choice(string.digits) - password += choice(string.letters) + password += choice(string.ascii_letters) password += ''.join([choice(chars) for _i in range(length - 2)]) return password