# HG changeset patch # User Magnus Schieder # Date 1528374824 -7200 # Node ID b2f96072b8d75c7b8ac1417912572b15ef1eb633 # Parent 8592603e4471a1a492909a6e7356129679b84e80 file read bug fixed "outfile.seek(0)" diff -r 8592603e4471 -r b2f96072b8d7 odfcast/convert.py --- a/odfcast/convert.py Fri Aug 25 20:57:11 2017 +0200 +++ b/odfcast/convert.py Thu Jun 07 14:33:44 2018 +0200 @@ -153,6 +153,7 @@ t.render(datadict) outfile.close() outfile = tfile + outfile.seek(0) except Exception, e: log.exception("Template error") return TemplateErrorResponse(details=str(e))