Print config filename before reading it

This commit is contained in:
Mickey Rose 2019-08-04 11:33:12 +02:00
parent eb9c9c74a6
commit 1bcdfd36d5
1 changed files with 2 additions and 0 deletions

View File

@ -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,):