Skip to content

Commit 3b74f5b

Browse files
committed
need a flush on some systems (otherwise content.xml will be empty)
1 parent 39df12d commit 3b74f5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyexcel_odsw/entrouvert_odsw.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def close(self):
8282
xml.endTag()
8383
xml.endTag()
8484
xml.endTag()
85+
self.content.file.flush()
8586
self.z.write(self.content.name, 'content.xml')
8687
self.content.close()
8788
self.z.close()

0 commit comments

Comments
 (0)