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