mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-16 07:32:51 +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
|
||||
if opts['--netrc'] and (opts['--username'] or opts['--password']):
|
||||
parser.error(u'using .netrc conflicts with giving username/password')
|
||||
#if opts['--netrc'] and (opts['--username'] or opts['--password']):
|
||||
# parser.error(u'using .netrc conflicts with giving username/password')
|
||||
if opts['--password'] and not opts['--username']:
|
||||
parser.error(u' account username missing\n')
|
||||
if opts.outtmpl is not None and (opts.usetitle or opts.autonumber or opts.useid):
|
||||
|
Loading…
Reference in New Issue
Block a user