From 7282bd2780c16c449a4564430189480e51113822 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 17 Dec 2024 13:45:41 +0100 Subject: [PATCH] Fixed bug. --- src/ragnar/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ragnar/bot.py b/src/ragnar/bot.py index ff0f970..0e579ed 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -170,4 +170,4 @@ class Bot: def down_vote_rant(self, rant): log.warning("Downvoting rant by {}.".format(rant["user_username"])) - log.debug(json.loads(self.api.post_rant_vote(rant["id"], -1))) + log.debug("Vote result: ".format(self.api.post_rant_vote(rant["id"], -1)))