projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb27c22
)
[configuration] Undo code breakage
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 3 Dec 2013 12:11:20 +0000
(13:11 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 3 Dec 2013 12:11:20 +0000
(13:11 +0100)
youtube_dl/__init__.py
patch
|
blob
|
history
diff --git
a/youtube_dl/__init__.py
b/youtube_dl/__init__.py
index 9c8a694f0b9b77c4e991567b247b1386254d781d..fff295e8ccd2f364761e412377eac2ef5810771a 100644
(file)
--- a/
youtube_dl/__init__.py
+++ b/
youtube_dl/__init__.py
@@
-87,7
+87,9
@@
def parseOpts(overrideArguments=None):
except IOError:
return default # silently skip if file is not present
try:
- res = [shlex.split(l, comments=True) for l in optionf]
+ res = []
+ for l in optionf:
+ res += shlex.split(l, comments=True)
finally:
optionf.close()
return res