aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRicardo Garcia <[email protected]>2009-03-01 00:00:04 +0100
committerRicardo Garcia <[email protected]>2010-10-31 11:23:48 +0100
commit5121ef207112040fdf58e889393071aeb51cf4f2 (patch)
treee7601df43c43a38ae7426ecd56e2b6832cda834e
parentfd209848897f45e9df8931d14e937f0b0ed2a547 (diff)
downloadyoutube-dl-5121ef207112040fdf58e889393071aeb51cf4f2.tar.gz
youtube-dl-5121ef207112040fdf58e889393071aeb51cf4f2.zip
Fix wrong indentation
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index a0cafeae9..323897a9c 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -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