1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-26 03:02:56 +08:00

Added parenthesis for explicity

This commit is contained in:
Finn Petersen 2013-04-22 10:15:58 +02:00
parent b8ad4f02a2
commit 30f2999962

View File

@ -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: