1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-23 14:39:35 +01:00

Fix wrong indentation

This commit is contained in:
Ricardo Garcia 2009-03-01 00:00:04 +01:00
parent fd20984889
commit 5121ef2071

View File

@ -144,7 +144,7 @@ class FileDownloader(object):
return '--:--'
return '%02d:%02d' % (eta_mins, eta_secs)
@staticmethod
@staticmethod
def calc_speed(start, now, bytes):
dif = now - start
if bytes == 0 or dif < 0.001: # One millisecond