Skip to content

Commit

Permalink
Fixing issue 4teamwork#68
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Marín Campaña committed Aug 24, 2021
1 parent 929b953 commit 124f414
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docxcompose/composer.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,11 @@ def add_numberings(self, doc, element):

next_num_id, next_anum_id = self._next_numbering_ids()

src_numbering_part = doc.part.numbering_part
# Fixing Issue #68
try:
src_numbering_part = doc.part.numbering_part
except NotImplementedError:
return

for num_id in num_ids:
if num_id in self.num_id_mapping:
Expand Down

0 comments on commit 124f414

Please sign in to comment.