mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
...
This commit is contained in:
parent
8d560375f5
commit
13bce78437
@ -34,7 +34,7 @@ class Context(object):
|
|||||||
|
|
||||||
def __init__(self, root):
|
def __init__(self, root):
|
||||||
try:
|
try:
|
||||||
self.fb_ns = root.nsmap[root.prefix]
|
self.fb_ns = root.nsmap[root.prefix] or NAMESPACES['fb2']
|
||||||
except Exception:
|
except Exception:
|
||||||
self.fb_ns = NAMESPACES['fb2']
|
self.fb_ns = NAMESPACES['fb2']
|
||||||
self.namespaces = {
|
self.namespaces = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user