From 1bcdfd36d51892c738babdf0770479e1bdb09035 Mon Sep 17 00:00:00 2001 From: Mickey Rose Date: Sun, 4 Aug 2019 11:33:12 +0200 Subject: [PATCH] Print config filename before reading it --- youtube_dl/options.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 1ffabc62b..3e801812d 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -45,6 +45,8 @@ def parseOpts(overrideArguments=None): except IOError: return default # silently skip if file is not present try: + if opts.verbose: + write_string('[debug] Reading options from: %s\n' % repr(filename_bytes)) # FIXME: https://github.com/ytdl-org/youtube-dl/commit/dfe5fa49aed02cf36ba9f743b11b0903554b5e56 contents = optionf.read() if sys.version_info < (3,):