Closed cehbrecht closed 5 years ago
Looks like this approach leads into more PY2 compatibility troubles:
File "pywps/inout/basic.py", line 387, in file
fh.write(self.data)
TypeError: write() argument 1 must be unicode, not str
skipping this PR ... it becomes obsolete when using Python 3 only.
Overview
This PR is updating PR #475 and uses
io.open
.Related Issue / Discussion
475
Additional Information
https://stackoverflow.com/questions/40809901/python-2-7-io-open-use-from-io-import-open-or-io-open#40809945
Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)