]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Added parenthesis for explicity
authorFinn Petersen <4peterse@googlemail.com>
Mon, 22 Apr 2013 08:15:58 +0000 (10:15 +0200)
committerFinn Petersen <4peterse@googlemail.com>
Mon, 22 Apr 2013 08:15:58 +0000 (10:15 +0200)
youtube_dl/__init__.py

index b339427e818c9546268fe3019aaa627fbc3c2f16..87d3f222aac4c1672cabb20024663a157aed3566 100644 (file)
@@ -299,7 +299,7 @@ def parseOpts(arguments):
     systemConf = _readOptions('/etc/youtube-dl.conf')
     userConf = _readOptions(userConfFile)
     commandLineConf = sys.argv[1:] 
-    argv = systemConf + userConf + commandLineConf if not arguments else arguments
+    argv = (systemConf + userConf + commandLineConf) if not arguments else arguments
     opts, args = parser.parse_args(argv)
 
     if opts.verbose: