1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 08:10:31 +01: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 parseOpts(overrideArguments=None):
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