diff --git a/kuow_fetcher.py b/kuow_fetcher.py index 861f2da..e7b8f83 100644 --- a/kuow_fetcher.py +++ b/kuow_fetcher.py @@ -129,6 +129,7 @@ with Session(engine) as session: .strip() ) if not article_record.post_id: + print("Posting to Mastodon") mastodon_post_result = mastodon.status_post( status=article_description + "\n" @@ -138,6 +139,8 @@ with Session(engine) as session: visibility="public", ) article_record.post_id = mastodon_post_result["id"] + else: + print("Article has already been posted") except: print("Could not load a description/post this article")