-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
in Composer.insert(self, index, doc, remove_property_fields)
...
--> 213 img_part = doc.part.rels[rid].target_part
215 new_img_part = self.pkg.image_parts._get_by_sha1(img_part.sha1)
216 if new_img_part is None:
KeyError: None
this happened when I append a document that has some pic to Composer like this:
tp = Document(os.path.join(directory, file))
master.append(tp)
Metadata
Metadata
Assignees
Labels
No labels