mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-19 18:55:37 +08:00
Commenting out code for netrc conflict with username and password, should no longer be necessary
This commit is contained in:
parent
44be3dc22d
commit
05be634f54
@ -656,8 +656,8 @@ def _real_main(argv=None):
|
|||||||
|
|
||||||
|
|
||||||
# Conflicting, missing and erroneous options
|
# Conflicting, missing and erroneous options
|
||||||
if opts['--netrc'] and (opts['--username'] or opts['--password']):
|
#if opts['--netrc'] and (opts['--username'] or opts['--password']):
|
||||||
parser.error(u'using .netrc conflicts with giving username/password')
|
# parser.error(u'using .netrc conflicts with giving username/password')
|
||||||
if opts['--password'] and not opts['--username']:
|
if opts['--password'] and not opts['--username']:
|
||||||
parser.error(u' account username missing\n')
|
parser.error(u' account username missing\n')
|
||||||
if opts.outtmpl is not None and (opts.usetitle or opts.autonumber or opts.useid):
|
if opts.outtmpl is not None and (opts.usetitle or opts.autonumber or opts.useid):
|
||||||
|
Loading…
Reference in New Issue
Block a user