mirror of
https://gitlab.com/jeancf/twoot.git
synced 2024-11-27 22:11:11 +00:00
convert int to str
This commit is contained in:
parent
2b21a626d4
commit
357e45844d
4
twoot.py
4
twoot.py
|
@ -235,8 +235,8 @@ def login(instance, account, password):
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|
||||||
# Check ratelimit status
|
# Check ratelimit status
|
||||||
logging.info('Ratelimit allowed requests: ' + mastodon.ratelimit_limit)
|
logging.info('Ratelimit allowed requests: ' + str(mastodon.ratelimit_limit))
|
||||||
logging.info('Ratelimit remaining requests: ' + 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: ' + time.localtime(mastodon.ratelimit_reset))
|
||||||
logging.info('Ratelimit last call: ' + time.localtime(mastodon.ratelimit_lastcall))
|
logging.info('Ratelimit last call: ' + time.localtime(mastodon.ratelimit_lastcall))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user