Browse Source

Added parenthesis for explicity

rtmp_test
Finn Petersen 12 years ago
parent
commit
30f2999962
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/__init__.py

+ 1
- 1
youtube_dl/__init__.py 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:


Loading…
Cancel
Save