Skip to content

Commit

Permalink
Merge pull request #5 from chfw/master
Browse files Browse the repository at this point in the history
close zipoutputfp at line 409. without the fix, cannot write the documen...
  • Loading branch information
sorenroug committed Sep 8, 2014
2 parents c57b4fb + cee9bbd commit b8759b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions odf/opendocument.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,7 @@ def write(self, outputfp):
"""
zipoutputfp = zipfile.ZipFile(outputfp,"w")
self.__zipwrite(zipoutputfp)
zipoutputfp.close()

def __zipwrite(self, outputfp):
""" Write the document to an open file pointer
Expand Down

0 comments on commit b8759b5

Please sign in to comment.