aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/FileDownloader.py
diff options
context:
space:
mode:
authorIsmael Mejia <iemejia@gmail.com>2013-09-11 14:26:48 +0200
committerIsmael Mejia <iemejia@gmail.com>2013-09-11 14:26:48 +0200
commitcf1dd0c59e8ff4c66130bc47954c415be5db8cc3 (patch)
treea39741b945c88b9a7b3bc14c94efdc6fe7b3302f /youtube_dl/FileDownloader.py
parent72836fcee453386f4f16325c5b8fa4c1ba1bb442 (diff)
parent22c8b525458c8203c0709a523c646b8d152f03b0 (diff)
downloadyoutube-dl-cf1dd0c59e8ff4c66130bc47954c415be5db8cc3.tar.xz
Merge branch 'master' into subtitles_rework
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 7c5ac4bc2..0b5a5d77d 100644
--- a/youtube_dl/FileDownloader.py
+++ b/youtube_dl/FileDownloader.py
@@ -66,7 +66,7 @@ class FileDownloader(object):
@staticmethod
def format_seconds(seconds):
(mins, secs) = divmod(seconds, 60)
- (hours, eta_mins) = divmod(mins, 60)
+ (hours, mins) = divmod(mins, 60)
if hours > 99:
return '--:--:--'
if hours == 0: