mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
Corrected account_update_credentials() call
This commit is contained in:
parent
a8a580989a
commit
36738c7a65
2
twoot.py
2
twoot.py
|
@ -262,7 +262,7 @@ def update_profile(nitter_url, soup, sql, mast_password):
|
|||
|
||||
# Update profile on Mastodon
|
||||
try:
|
||||
mastodon.account_update_credentials(avatar=new_avatar_img, avatar_mime_type=new_avatar_mime, header="", header_mime_type=None)
|
||||
mastodon.account_update_credentials(avatar=new_avatar_img, avatar_mime_type=new_avatar_mime, header=new_banner_img, header_mime_type=new_banner_mime)
|
||||
except Exception as e:
|
||||
logging.error("Could not update profile")
|
||||
logging.error(e)
|
||||
|
|
Loading…
Reference in New Issue
Block a user