[options] Include custom conf in final argv (closes #11741)
authorSergey M․ <dstftw@gmail.com>
Mon, 16 Jan 2017 15:07:12 +0000 (22:07 +0700)
committerSergey M․ <dstftw@gmail.com>
Mon, 16 Jan 2017 15:07:12 +0000 (22:07 +0700)
youtube_dl/options.py

index 0eb4924b6fe04582b85053dc65f69e7fa3d42a51..0b8c1671da4d766fd8593a95eeb28af24d980027 100644 (file)
@@ -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 (