0
0
Fork 0

Don't forget trailing '%'

main
fnord 2015-07-17 09:45:49 -05:00
parent 9fefc88656
commit 593b77064c
1 changed files with 3 additions and 0 deletions

View File

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