projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typos
[youtube-dl]
/
youtube_dl
/
utils.py
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index da4ec7f209a4d0dfbad84254ee51914c3fadc270..9c1c0e0bdf55040dc3b82d4393d50c3623e3b0de 100644
(file)
--- a/
youtube_dl/utils.py
+++ b/
youtube_dl/utils.py
@@
-984,7
+984,7
@@
def date_from_str(date_str):
if sign == '-':
time = -time
unit = match.group('unit')
if sign == '-':
time = -time
unit = match.group('unit')
- # A bad aproximation?
+ # A bad ap
p
roximation?
if unit == 'month':
unit = 'day'
time *= 30
if unit == 'month':
unit = 'day'
time *= 30
@@
-1307,7
+1307,7
@@
def parse_filesize(s):
if s is None:
return None
if s is None:
return None
- # The lower-case forms are of course incorrect and
i
nofficial,
+ # The lower-case forms are of course incorrect and
u
nofficial,
# but we support those too
_UNIT_TABLE = {
'B': 1,
# but we support those too
_UNIT_TABLE = {
'B': 1,