Minor correction

This commit is contained in:
Anon 2023-03-12 20:45:00 -07:00
parent 1de6a97f4a
commit 9d3fd36ca6

View File

@ -160,7 +160,7 @@ class YandereBot(FediBot.YandereBot):
def post(self, picked): def post(self, picked):
try: try:
super(YandereBot, self).post(picked) return super(YandereBot, self).post(picked)
except (FileNotFoundError, MastodonAPIError, FediBot.InvalidPost, Exception) as e: except (FileNotFoundError, MastodonAPIError, FediBot.InvalidPost, Exception) as e:
print("Exception:", e) print("Exception:", e)