img2py not performing binary read

The code in wx\tools\img2py.py at line 120 is
        file(newname, "wb").write(file(fileName).read())
but should be:
        file(newname, "wb").write(file(fileName, "rb").read())

Phil

Phil Mayes wrote:

The code in wx\tools\img2py.py at line 120 is
        file(newname, "wb").write(file(fileName).read())
but should be:
        file(newname, "wb").write(file(fileName, "rb").read())

This has already been fixed in SVN. Thanks.

···

--
Robin Dunn
Software Craftsman