alexdej / puzpy

Python library for reading and writing across lite crossword puzzle .puz files.
MIT License
112 stars 32 forks source link

Need to set preamble in Python 3.6.7 #17

Closed boisvert42 closed 5 years ago

boisvert42 commented 5 years ago

In Python 3.6.7 I can't write a .puz file unless I explicitly set the preamble to b''. Is there a workaround that will work in Python 2 and Python 3?

alexdej commented 5 years ago

Thanks for the report. Looks like just initializing the default value to b'' is sufficient so I made that change.