altered username to lower case because of authorization troubles

Logins failed because Email is handled case sensitiveley by Mastodon obviously. Added s.lower() to fix this.
This commit is contained in:
Homer S. 2019-03-06 22:05:56 +01:00
parent 44465fdf52
commit 068b03c578
1 changed files with 2 additions and 2 deletions

View File

@ -42,11 +42,11 @@ for account in transitions:
# Connect with Mastodon-Account
try:
usercreds = mastodon.log_in(
account['masto_username'],
account['masto_username'].lower(),
account['masto_passwd']
)
except:
print(account['masto_username'])
print(account['masto_username'].lower())
print("Login failed!")
continue