From 4ccce6aac1e1fadae303baeb672b08b4a222c0a8 Mon Sep 17 00:00:00 2001 From: jeancf Date: Thu, 8 Sep 2022 10:19:23 +0200 Subject: [PATCH] asctime() instead --- twoot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index 982b812..2f7673f 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: ' + str(time.localtime(mastodon.ratelimit_reset))) - logging.info('Ratelimit last call: ' + str(time.localtime(mastodon.ratelimit_lastcall))) + logging.info('Ratelimit reset time: ' + time.asctime(time.localtime(mastodon.ratelimit_reset))) + logging.info('Ratelimit last call: ' + time.asctime(time.localtime(mastodon.ratelimit_lastcall))) return mastodon