logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: a0eaa341e1ce6254179c1a00a11704da1887e124
parent fb27c2295e0e9d6f2f6ac45ed5906987b4710d0a
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue,  3 Dec 2013 13:11:20 +0100

[configuration] Undo code breakage

Diffstat:

Myoutube_dl/__init__.py4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 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