convert int to str

This commit is contained in:
jeancf 2022-09-08 10:15:14 +02:00
parent 2b21a626d4
commit 357e45844d

View File

@ -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))