DOCX Input: Fix error when converting document with nested frames. Fixes #1317543 [Conversion of a particular DOCX file](https://bugs.launchpad.net/calibre/+bug/1317543)

This commit is contained in:
Kovid Goyal 2014-05-08 20:58:57 +05:30
parent f8940541cf
commit d3c67c72fd

View File

@ -629,7 +629,7 @@ class Convert(object):
if last_run[-1][1] == style: if last_run[-1][1] == style:
last_run.append((html_obj, style)) last_run.append((html_obj, style))
else: else:
self.framed.append((html_obj, style)) self.framed[-1].append((html_obj, style))
else: else:
last_run.append((html_obj, style)) last_run.append((html_obj, style))