mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-23 20:11:11 +00:00
more str conversion
This commit is contained in:
parent
357e45844d
commit
392b0bafd0
4
twoot.py
4
twoot.py
|
@ -237,8 +237,8 @@ def login(instance, account, password):
|
||||||
# Check ratelimit status
|
# Check ratelimit status
|
||||||
logging.info('Ratelimit allowed requests: ' + str(mastodon.ratelimit_limit))
|
logging.info('Ratelimit allowed requests: ' + str(mastodon.ratelimit_limit))
|
||||||
logging.info('Ratelimit remaining requests: ' + str(mastodon.ratelimit_remaining))
|
logging.info('Ratelimit remaining requests: ' + str(mastodon.ratelimit_remaining))
|
||||||
logging.info('Ratelimit reset time: ' + time.localtime(mastodon.ratelimit_reset))
|
logging.info('Ratelimit reset time: ' + str(time.localtime(mastodon.ratelimit_reset)))
|
||||||
logging.info('Ratelimit last call: ' + time.localtime(mastodon.ratelimit_lastcall))
|
logging.info('Ratelimit last call: ' + str(time.localtime(mastodon.ratelimit_lastcall)))
|
||||||
|
|
||||||
return mastodon
|
return mastodon
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user