projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fefc88
)
Don't forget trailing '%'
author
fnord
<fnord@fnord.mobi>
Fri, 17 Jul 2015 14:45:49 +0000
(09:45 -0500)
committer
fnord
<fnord@fnord.mobi>
Fri, 17 Jul 2015 14:45:49 +0000
(09:45 -0500)
youtube_dl/compat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/compat.py
b/youtube_dl/compat.py
index 8b4d0287c4d15fd85208c11e629c11058c7d8a87..9e506352fe6238e124d17c4bfeb235b15396cb28 100644
(file)
--- a/
youtube_dl/compat.py
+++ b/
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:])