diff --git a/pyconfr-to-mastodon.py b/pyconfr-to-mastodon.py index c1a85fd..995803e 100644 --- a/pyconfr-to-mastodon.py +++ b/pyconfr-to-mastodon.py @@ -164,7 +164,7 @@ def live_toot(talks, mastodon: Mastodon, ahead_days=0): ), salle="Salle " + talk.room.split("/")[0], ) - media = mastodon.media_post("rend.png") + media = mastodon.media_post(png_name) mastodon.status_post(toot_for(talk, ahead_days), media_ids=[media])