From 7cfb66b4b80302a2f03e99f6b6a4990a6dc27ab5 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Fri, 31 Aug 2018 16:24:25 -0700 Subject: fetch_url: space between report text and latency --- youtube/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'youtube') diff --git a/youtube/common.py b/youtube/common.py index a20dbf1..6061c9b 100644 --- a/youtube/common.py +++ b/youtube/common.py @@ -158,7 +158,7 @@ def fetch_url(url, headers=(), timeout=15, report_text=None): content = response.read() read_finish = time.time() if report_text: - print(report_text, 'Latency:', response_time - start_time, ' Read time:', read_finish - response_time) + print(report_text, ' Latency:', response_time - start_time, ' Read time:', read_finish - response_time) encodings = response.getheader('Content-Encoding', default='identity').replace(' ', '').split(',') for encoding in reversed(encodings): if encoding == 'identity': -- cgit v1.2.3