Hide the video password on verbose mode
parent
93b22c7828
commit
3126050c0f
|
@ -133,7 +133,7 @@ def parseOpts(overrideArguments=None):
|
||||||
|
|
||||||
def _hide_login_info(opts):
|
def _hide_login_info(opts):
|
||||||
opts = list(opts)
|
opts = list(opts)
|
||||||
for private_opt in ['-p', '--password', '-u', '--username']:
|
for private_opt in ['-p', '--password', '-u', '--username', '--video-password']:
|
||||||
try:
|
try:
|
||||||
i = opts.index(private_opt)
|
i = opts.index(private_opt)
|
||||||
opts[i+1] = '<PRIVATE>'
|
opts[i+1] = '<PRIVATE>'
|
||||||
|
|
Loading…
Reference in New Issue