summaryrefslogtreecommitdiff
path: root/libmat2/epub.py
diff options
context:
space:
mode:
authorjvoisin2021-11-21 11:02:22 +0100
committerjvoisin2021-11-21 11:02:22 +0100
commitfb7440ab5ddaffe52d1f765c59fecd2c0e3aa944 (patch)
tree28602022bebba5f084f09d808000c9f6c1f023bb /libmat2/epub.py
parent0c91ac7367ba3a859a7ba08d4ca586538748a5c4 (diff)
Please a bit the CI
Diffstat (limited to '')
-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