From 76a47102e7c11a43e58855fa85c4c18226180a80 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 17 Dec 2024 12:45:41 +0000 Subject: [PATCH] fix: correct off-by-one error in pagination offset calculation for user list endpoint --- 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)))