Updated per backend change
This commit is contained in:
parent
9d3fd36ca6
commit
de54500865
@ -158,9 +158,9 @@ class YandereBot(FediBot.YandereBot):
|
|||||||
else:
|
else:
|
||||||
self.print_header_stats(None)
|
self.print_header_stats(None)
|
||||||
|
|
||||||
def post(self, picked):
|
def post(self, callback=None):
|
||||||
try:
|
try:
|
||||||
return super(YandereBot, self).post(picked)
|
return super(YandereBot, self).post(callback)
|
||||||
except (FileNotFoundError, MastodonAPIError, FediBot.InvalidPost, Exception) as e:
|
except (FileNotFoundError, MastodonAPIError, FediBot.InvalidPost, Exception) as e:
|
||||||
print("Exception:", e)
|
print("Exception:", e)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user