mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-10 19:37:25 +00:00
[configuration] Undo code breakage
This commit is contained in:
parent
fb27c2295e
commit
a0eaa341e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user