mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-09 11:44:50 +01:00
DOCX Input: Fix error when converting docx files that have no internal styles defined
This commit is contained in:
parent
e065207a07
commit
abe50ef5ef
1 changed files with 1 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ def __init__(self, namespace, tables):
|
|||
self.default_styles = {}
|
||||
self.tables = tables
|
||||
self.numbering_style_links = {}
|
||||
self.default_paragraph_style = self.default_character_style = None
|
||||
|
||||
def __iter__(self):
|
||||
for s in self.id_map.itervalues():
|
||||
|
|
|
|||
Loading…
Reference in a new issue