1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-21 20:52:59 +08:00

[configuration] Undo code breakage

This commit is contained in:
Philipp Hagemeister 2013-12-03 13:11:20 +01:00
parent fb27c2295e
commit a0eaa341e1

View File

@ -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