From 392b0bafd0c48e5b7c5dfa2c7f80757eb220ce9d Mon Sep 17 00:00:00 2001 From: jeancf Date: Thu, 8 Sep 2022 10:17:14 +0200 Subject: [PATCH] more str conversion --- twoot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index 164ed26..982b812 100755 --- a/twoot.py +++ b/twoot.py @@ -237,8 +237,8 @@ def login(instance, account, password): # Check ratelimit status 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)) + logging.info('Ratelimit reset time: ' + str(time.localtime(mastodon.ratelimit_reset))) + logging.info('Ratelimit last call: ' + str(time.localtime(mastodon.ratelimit_lastcall))) return mastodon