diff --git a/src/main.py b/src/main.py index a7e62c2..074399d 100755 --- a/src/main.py +++ b/src/main.py @@ -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)