cneud / alto-tools

Python tools for performing various operations on ALTO XML files
Apache License 2.0
39 stars 15 forks source link

Don't fail on multiple files #12

Closed drzraf closed 3 years ago

drzraf commented 3 years ago

When dumping multiple (non-UTF-8 encoded) files, the output is a _io.BufferedWriter instead of _io.TextIOWrapper. The former has no available "encoding" property.