diff --git a/twoot.py b/twoot.py index 9110db9..164ed26 100755 --- a/twoot.py +++ b/twoot.py @@ -235,8 +235,8 @@ def login(instance, account, password): sys.exit(-1) # Check ratelimit status - logging.info('Ratelimit allowed requests: ' + mastodon.ratelimit_limit) - logging.info('Ratelimit remaining requests: ' + mastodon.ratelimit_remaining) + logging.info('Ratelimit allowed requests: ' + str(mastodon.ratelimit_limit)) + logging.info('Ratelimit remaining requests: ' + str(mastodon.ratelimit_remaining)) logging.info('Ratelimit reset time: ' + time.localtime(mastodon.ratelimit_reset)) logging.info('Ratelimit last call: ' + time.localtime(mastodon.ratelimit_lastcall))