summaryrefslogtreecommitdiff
path: root/libmat2/epub.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmat2/epub.py')
-rw-r--r--libmat2/epub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/epub.py b/libmat2/epub.py
index af059d2..be05562 100644
--- a/libmat2/epub.py
+++ b/libmat2/epub.py
@@ -108,7 +108,7 @@ class EPUBParser(archive.ZipParser):
108 item.append(uniqid) 108 item.append(uniqid)
109 109
110 # items without mandatory content 110 # items without mandatory content
111 for name in {'language', 'title'}: 111 for name in ['language', 'title']:
112 uniqid = ET.Element(self.metadata_namespace + name) 112 uniqid = ET.Element(self.metadata_namespace + name)
113 item.append(uniqid) 113 item.append(uniqid)
114 break # there is only a single <metadata> block 114 break # there is only a single <metadata> block