Merge branch 'master' into subtitles_rework
[youtube-dl] / youtube_dl / FileDownloader.py
index 7c5ac4bc2ecae6d3440266a98b2034ac5f56867a..0b5a5d77d409ca0a193a9ce6bf6890f88767459d 100644 (file)
@@ -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: