diff options
author | Girts Folkmanis <girtsf@users.noreply.github.com> | 2016-11-07 17:11:07 -0800 |
---|---|---|
committer | Girts Folkmanis <girtsf@users.noreply.github.com> | 2016-11-07 17:11:07 -0800 |
commit | 369ac7b2a33b0de2e95eb2f0ec38d543ad7ca98d (patch) | |
tree | 963ceab268c54bb8379c7ea612d6b0a021a16424 /gerbonara/gerber | |
parent | 22e668c75f24174d2090443ed98e804b3737bd84 (diff) | |
download | gerbonara-369ac7b2a33b0de2e95eb2f0ec38d543ad7ca98d.tar.gz gerbonara-369ac7b2a33b0de2e95eb2f0ec38d543ad7ca98d.tar.bz2 gerbonara-369ac7b2a33b0de2e95eb2f0ec38d543ad7ca98d.zip |
cairo_backend.py: use BytesIO instead of StringIO
This fixes a crash in cairocffi on Python3, and should be compatible
with both python2 and python3. In python2, byte strings are just
strings. In python3, when getting binary data, the user probably wants
a byte string instead of a regular string.
Diffstat (limited to 'gerbonara/gerber')
0 files changed, 0 insertions, 0 deletions