This commit is contained in:
lightmare 2020-09-30 06:04:46 +02:00 committed by GitHub
commit 80c80adc1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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,):