Browse Source

Added parenthesis for explicity

master
Finn Petersen 11 years ago
parent
commit
30f2999962
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/__init__.py

2
youtube_dl/__init__.py

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