diff --git a/lbry/scripts/time_to_first_byte.py b/lbry/scripts/time_to_first_byte.py index b1bd0085f..1b6fc5d01 100644 --- a/lbry/scripts/time_to_first_byte.py +++ b/lbry/scripts/time_to_first_byte.py @@ -37,7 +37,7 @@ def variance(times): async def wait_for_done(conf, claim_name, timeout): blobs_completed, last_completed = 0, time.perf_counter() while True: - file = (await daemon_rpc(conf, "file_list", claim_name=claim_name))[0] + file = (await daemon_rpc(conf, "file_list", claim_name=claim_name))['items'][0] if file['status'] in ['finished', 'stopped']: return True, file['blobs_completed'], file['blobs_in_stream'] elif blobs_completed < int(file['blobs_completed']):