diff options
author | James Taylor <user234683@users.noreply.github.com> | 2018-08-31 16:24:25 -0700 |
---|---|---|
committer | James Taylor <user234683@users.noreply.github.com> | 2018-08-31 16:24:25 -0700 |
commit | 7cfb66b4b80302a2f03e99f6b6a4990a6dc27ab5 (patch) | |
tree | 6697bbe719ca967f29b9f4bc18f44a5c6b4169f5 /youtube/common.py | |
parent | ebfe58e6cbc866c5e2dc4876a6b5868837d504b3 (diff) | |
download | yt-local-7cfb66b4b80302a2f03e99f6b6a4990a6dc27ab5.tar.lz yt-local-7cfb66b4b80302a2f03e99f6b6a4990a6dc27ab5.tar.xz yt-local-7cfb66b4b80302a2f03e99f6b6a4990a6dc27ab5.zip |
fetch_url: space between report text and latency
Diffstat (limited to 'youtube/common.py')
-rw-r--r-- | youtube/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
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': |