DOCX Input: Fix error when converting docx files that have no internal styles defined

This commit is contained in:
Kovid Goyal 2017-05-13 08:11:26 +05:30
parent e065207a07
commit abe50ef5ef
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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():