浏览代码

[options] Include custom conf in final argv (closes #11741)

Sergey M․ 8 年之前
父节点
当前提交
0ce8c66fb0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/options.py

+ 1 - 1
youtube_dl/options.py

@@ -867,7 +867,7 @@ def parseOpts(overrideArguments=None):
             if '--ignore-config' not in system_conf:
                 user_conf = _readUserConf()
 
-        argv = system_conf + user_conf + command_line_conf
+        argv = system_conf + user_conf + custom_conf + command_line_conf
         opts, args = parser.parse_args(argv)
         if opts.verbose:
             for conf_label, conf in (