Minor correction
This commit is contained in:
parent
1de6a97f4a
commit
9d3fd36ca6
@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user