[Epydoc-commits] SF.net SVN: epydoc: [1625] trunk/epydoc/src/epydoc/docwriter/html.py
Brought to you by:
edloper
From: <ed...@us...> - 2007-09-23 19:44:10
|
Revision: 1625 http://epydoc.svn.sourceforge.net/epydoc/?rev=1625&view=rev Author: edloper Date: 2007-09-23 12:44:06 -0700 (Sun, 23 Sep 2007) Log Message: ----------- - applied sf patch [ 1673945 ] html.py / crarr.png is broken -- use 'wb' when writing .png files. Modified Paths: -------------- trunk/epydoc/src/epydoc/docwriter/html.py Modified: trunk/epydoc/src/epydoc/docwriter/html.py =================================================================== --- trunk/epydoc/src/epydoc/docwriter/html.py 2007-09-23 19:39:01 UTC (rev 1624) +++ trunk/epydoc/src/epydoc/docwriter/html.py 2007-09-23 19:44:06 UTC (rev 1625) @@ -1674,7 +1674,7 @@ def write_images(self, directory): for (name, data) in self.IMAGES.items(): - f = open(os.path.join(directory, name), 'w') + f = open(os.path.join(directory, name), 'wb') f.write(base64.decodestring(data)) f.close() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |