Added parenthesis for explicity

pull/8/head
Finn Petersen 12 years ago
parent b8ad4f02a2
commit 30f2999962

@ -299,7 +299,7 @@ def parseOpts(arguments):
systemConf = _readOptions('/etc/youtube-dl.conf') systemConf = _readOptions('/etc/youtube-dl.conf')
userConf = _readOptions(userConfFile) userConf = _readOptions(userConfFile)
commandLineConf = sys.argv[1:] 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) opts, args = parser.parse_args(argv)
if opts.verbose: if opts.verbose:

Loading…
Cancel
Save