Pick up emails correctly

This commit is contained in:
decentral1se 2021-06-18 09:08:30 +02:00
parent 7c710d2236
commit f99d069d61
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -37,7 +37,9 @@ if not exists(Path("accounts.txt").absolute()):
exit(1) exit(1)
with open("accounts.txt") as handle: with open("accounts.txt") as handle:
emails = handle.readlines() emails = [email.strip() for email in handle.readlines()]
print(f"Parsed {emails} from accounts.txt")
keycloak = init_keycloak() keycloak = init_keycloak()