1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-15 22:05:39 +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 parseOpts(overrideArguments=None):
for private_opt in ['-p', '--password', '-u', '--username', '--video-password']: 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'
except ValueError: except ValueError:
pass pass
return opts return opts