From 9d3fd36ca634bbe895fe48e67c43cfd9661b8c25 Mon Sep 17 00:00:00 2001 From: Anon Date: Sun, 12 Mar 2023 20:45:00 -0700 Subject: [PATCH] Minor correction --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 2bcc989..a7e62c2 100755 --- a/src/main.py +++ b/src/main.py @@ -160,7 +160,7 @@ class YandereBot(FediBot.YandereBot): def post(self, picked): try: - super(YandereBot, self).post(picked) + return super(YandereBot, self).post(picked) except (FileNotFoundError, MastodonAPIError, FediBot.InvalidPost, Exception) as e: print("Exception:", e)