This commit is contained in:
Kovid Goyal 2016-04-10 10:38:09 +05:30
parent a17e4fe4af
commit 6c0c511e8d

View File

@ -42,7 +42,7 @@ def encode_url(name, frag=''):
def decode_url(x):
parts = x.split('#', 1)
return decode_component(parts[0]), (parts[1] or '') if len(parts) > 1 else ''
return decode_component(parts[0]), parts[1] if len(parts) > 1 else ''
class Container(ContainerBase):