Explorar o código

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

Sergey M․ %!s(int64=9) %!d(string=hai) anos
pai
achega
0ce8c66fb0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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:
             if '--ignore-config' not in system_conf:
                 user_conf = _readUserConf()
                 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)
         opts, args = parser.parse_args(argv)
         if opts.verbose:
         if opts.verbose:
             for conf_label, conf in (
             for conf_label, conf in (