mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
Fix wrong indentation
This commit is contained in:
parent
fd20984889
commit
5121ef2071
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class FileDownloader(object):
|
||||||
return '--:--'
|
return '--:--'
|
||||||
return '%02d:%02d' % (eta_mins, eta_secs)
|
return '%02d:%02d' % (eta_mins, eta_secs)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def calc_speed(start, now, bytes):
|
def calc_speed(start, now, bytes):
|
||||||
dif = now - start
|
dif = now - start
|
||||||
if bytes == 0 or dif < 0.001: # One millisecond
|
if bytes == 0 or dif < 0.001: # One millisecond
|
||||||
|
|
Loading…
Reference in a new issue