mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-11-24 23:35:01 -05: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