mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Print config filename before reading it
This commit is contained in:
parent
eb9c9c74a6
commit
1bcdfd36d5
@ -45,6 +45,8 @@ def parseOpts(overrideArguments=None):
|
|||||||
except IOError:
|
except IOError:
|
||||||
return default # silently skip if file is not present
|
return default # silently skip if file is not present
|
||||||
try:
|
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
|
# FIXME: https://github.com/ytdl-org/youtube-dl/commit/dfe5fa49aed02cf36ba9f743b11b0903554b5e56
|
||||||
contents = optionf.read()
|
contents = optionf.read()
|
||||||
if sys.version_info < (3,):
|
if sys.version_info < (3,):
|
||||||
|
Loading…
Reference in New Issue
Block a user