Sfoglia il codice sorgente

Do not use HTML characters in output

This messes up the format when people paste it outside of code tags.
Philipp Hagemeister 11 anni fa
parent
commit
d2e32f7df5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      youtube_dl/options.py

+ 1 - 1
youtube_dl/options.py

@@ -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