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:
parent
44465fdf52
commit
068b03c578
|
@ -42,11 +42,11 @@ for account in transitions:
|
||||||
# Connect with Mastodon-Account
|
# Connect with Mastodon-Account
|
||||||
try:
|
try:
|
||||||
usercreds = mastodon.log_in(
|
usercreds = mastodon.log_in(
|
||||||
account['masto_username'],
|
account['masto_username'].lower(),
|
||||||
account['masto_passwd']
|
account['masto_passwd']
|
||||||
)
|
)
|
||||||
except:
|
except:
|
||||||
print(account['masto_username'])
|
print(account['masto_username'].lower())
|
||||||
print("Login failed!")
|
print("Login failed!")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue