drj11/pypng — pull request #30 by vkurup (2014-02-26 18:28:44+00:00)
Title: Use bytes consistently on Python3

While using a tool that uses pypng, I got this traceback (Python 3):

```
File "/home/vkurup/dev/dr_tea/dr_tea/importer/processing.py", line 50, in png_to_dwe
writer.write(f, result)
File "/home/vkurup/.virtualenvs/dr-tea/lib/python3.3/site-packages/png.py", line 643, in write
nrows = self.write_passes(outfile, rows)
File "/home/vkurup/.virtualenvs/dr-tea/lib/python3.3/site-packages/png.py", line 815, in write_passes
write_chunk(outfile, 'IDAT', compressed + flushed)
TypeError: Can't convert 'bytes' object to str implicitly
```

The PR attached fixes it. Thanks for considering this issue.