1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

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

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