mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
DOCX Input: Fix error when converting docx files that have no internal styles defined
This commit is contained in:
parent
e065207a07
commit
abe50ef5ef
@ -121,6 +121,7 @@ class Styles(object):
|
||||
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…
x
Reference in New Issue
Block a user