projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd20984
)
Fix wrong indentation
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sat, 28 Feb 2009 23:00:04 +0000
(
00:00
+0100)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:23:48 +0000
(11:23 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index a0cafeae9bc7b17d110e4da18468c9ed225a067e..323897a9c336882a86a74e006e37100748d06cfd 100755
(executable)
--- 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