diff --git a/src/calibre/ebooks/docx/styles.py b/src/calibre/ebooks/docx/styles.py index 9096270153..43b694b692 100644 --- a/src/calibre/ebooks/docx/styles.py +++ b/src/calibre/ebooks/docx/styles.py @@ -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():