mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
023717c2cd
commit
a17e4fe4af
@ -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 ''
|
||||
return decode_component(parts[0]), (parts[1] or '') if len(parts) > 1 else ''
|
||||
|
||||
class Container(ContainerBase):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user