mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 18:45:20 -04:00
DOCX Input: Fix error when converting docx files that have no internal styles defined
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user