From 63a7a578a49b995036e5d13290f6dfc8e47e26f8 Mon Sep 17 00:00:00 2001 From: jeancf Date: Thu, 8 Sep 2022 09:37:30 +0200 Subject: [PATCH] epoch to local time --- twoot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twoot.py b/twoot.py index 8ba6408..e31f2fc 100755 --- a/twoot.py +++ b/twoot.py @@ -204,8 +204,8 @@ def login(instance, account, password): # Check ratelimit status logging.info('Ratelimit allowed requests: ' + Mastodon.ratelimit_limit) logging.info('Ratelimit remaining requests: ' + Mastodon.ratelimit_remaining) - logging.info('Ratelimit reset time: ' + Mastodon.ratelimit_reset) - logging.info('Ratelimit last call: ' + Mastodon.ratelimit_lastcall) + logging.info('Ratelimit reset time: ' + time.localtime(Mastodon.ratelimit_reset)) + logging.info('Ratelimit last call: ' + time.localtime(Mastodon.ratelimit_lastcall)) # Create Mastodon application if it does not exist yet if not os.path.isfile(instance + '.secret'):