From 357e45844d1055be81bbaf82673ba9c2533c0eac Mon Sep 17 00:00:00 2001 From: jeancf Date: Thu, 8 Sep 2022 10:15:14 +0200 Subject: [PATCH] convert int to str --- twoot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index 9110db9..164ed26 100755 --- a/twoot.py +++ b/twoot.py @@ -235,8 +235,8 @@ def login(instance, account, password): sys.exit(-1) # Check ratelimit status - logging.info('Ratelimit allowed requests: ' + mastodon.ratelimit_limit) - logging.info('Ratelimit remaining requests: ' + mastodon.ratelimit_remaining) + logging.info('Ratelimit allowed requests: ' + str(mastodon.ratelimit_limit)) + logging.info('Ratelimit remaining requests: ' + str(mastodon.ratelimit_remaining)) logging.info('Ratelimit reset time: ' + time.localtime(mastodon.ratelimit_reset)) logging.info('Ratelimit last call: ' + time.localtime(mastodon.ratelimit_lastcall))