Updated per backend change

This commit is contained in:
Anon 2023-03-19 19:30:43 -07:00
parent 9d3fd36ca6
commit de54500865

View File

@ -158,9 +158,9 @@ class YandereBot(FediBot.YandereBot):
else:
self.print_header_stats(None)
def post(self, picked):
def post(self, callback=None):
try:
return super(YandereBot, self).post(picked)
return super(YandereBot, self).post(callback)
except (FileNotFoundError, MastodonAPIError, FediBot.InvalidPost, Exception) as e:
print("Exception:", e)