[configuration] Undo code breakage
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 3 Dec 2013 12:11:20 +0000 (13:11 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 3 Dec 2013 12:11:20 +0000 (13:11 +0100)
youtube_dl/__init__.py

index 9c8a694f0b9b77c4e991567b247b1386254d781d..fff295e8ccd2f364761e412377eac2ef5810771a 100644 (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