0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-26 02:55:17 +00:00

Do not use HTML characters in output

This messes up the format when people paste it outside of code tags.
This commit is contained in:
Philipp Hagemeister 2014-09-29 00:23:41 +02:00
parent 5f4c318844
commit d2e32f7df5

View file

@ -87,7 +87,7 @@ def _hide_login_info(opts):
for private_opt in ['-p', '--password', '-u', '--username', '--video-password']:
try:
i = opts.index(private_opt)
opts[i+1] = '<PRIVATE>'
opts[i+1] = 'PRIVATE'
except ValueError:
pass
return opts