From 9e9abf640a59c22e955c04b13b2063dc31fbce71 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 8 Oct 2013 22:07:52 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/oeb/polish/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/oeb/polish/container.py b/src/calibre/ebooks/oeb/polish/container.py index de8afe124f..2321a56463 100644 --- a/src/calibre/ebooks/oeb/polish/container.py +++ b/src/calibre/ebooks/oeb/polish/container.py @@ -497,7 +497,7 @@ class Container(object): # {{{ def filesize(self, name): if name in self.dirtied: - self.commit_item(name) + self.commit_item(name, keep_parsed=True) path = self.name_to_abspath(name) return os.path.getsize(path)