pauleve/pint

pint_install_deps: wrong opening mode in install_bin_from_tar with python 3.6.1

Closed this issue · 0 comments

With python 3.6.1, we get the following error:

File "/usr/local/bin/pint_install_deps", line 24, in install_bin_from_tar
o.write(fd.read())
TypeError: write() argument must be str, not bytes

fd should be opened in "wb" mode rather than "w" mode?