Browse Source

[configuration] Undo code breakage

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
a0eaa341e1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      youtube_dl/__init__.py

+ 3
- 1
youtube_dl/__init__.py 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


Loading…
Cancel
Save