mirror of
https://github.com/l1ving/youtube-dl
synced 2024-11-22 15:28:20 +08:00
Added parenthesis for explicity
This commit is contained in:
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…
Reference in New Issue
Block a user