summaryrefslogtreecommitdiffhomepage
path: root/youtube_dl/FileDownloader.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2013-11-25 06:17:41 +0100
committerPhilipp Hagemeister <[email protected]>2013-11-25 06:17:41 +0100
commitd0d2b49ab728e70b8b325298e7825760fa7b3775 (patch)
treeaae00fccbd81ac817a4889259deb14bfc0c4f6e6 /youtube_dl/FileDownloader.py
parent31cb6d8fefaa42aff293b03e37471bb05d5b8391 (diff)
downloadyoutube-dl-d0d2b49ab728e70b8b325298e7825760fa7b3775.tar.gz
youtube-dl-d0d2b49ab728e70b8b325298e7825760fa7b3775.zip
[FileDownloader] use moved format_bytes method
Diffstat (limited to 'youtube_dl/FileDownloader.py')
-rw-r--r--youtube_dl/FileDownloader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/FileDownloader.py b/youtube_dl/FileDownloader.py
index c6276d194..27684d0f6 100644
--- a/youtube_dl/FileDownloader.py
+++ b/youtube_dl/FileDownloader.py
@@ -289,7 +289,7 @@ class FileDownloader(object):
data_len = None
if percent > 0:
data_len = int(downloaded_data_len * 100 / percent)
- data_len_str = u'~'+self.format_bytes(data_len)
+ data_len_str = u'~' + format_bytes(data_len)
self.report_progress(percent, data_len_str, speed, eta)
cursor_in_new_line = False
self._hook_progress({