mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
asctime() instead
This commit is contained in:
parent
392b0bafd0
commit
4ccce6aac1
4
twoot.py
4
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user