Merge pull request #1357 from pneb/patch-6

fix: Potential fix for a regex bug
This commit is contained in:
Matt Scott 2023-01-25 16:19:27 -05:00 committed by GitHub
commit d50d57bc70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,6 +323,7 @@ def login():
# Regexp didn't match, continue to next iteration # Regexp didn't match, continue to next iteration
continue continue
account = Account()
sanitized_group_name = Account.sanitize_name(group_name) sanitized_group_name = Account.sanitize_name(group_name)
account_id = account.get_id_by_name(account_name=sanitized_group_name) account_id = account.get_id_by_name(account_name=sanitized_group_name)