Browse Source

Don't forget trailing '%'

master
fnord 9 years ago
parent
commit
593b77064c
1 changed files with 3 additions and 0 deletions
  1. 3
      youtube_dl/compat.py

3
youtube_dl/compat.py

@ -98,6 +98,9 @@ except ImportError:
append = res.append
for item in bits[1:]:
if item == '':
append(b'%')
continue
try:
append(item[:2].decode('hex'))
append(item[2:])

Loading…
Cancel
Save