Attempt StringIO after failed BytesIO file read
Merged
requested to merge ghsc/users/erigler/geomag-algorithms:attempt-StringIO-after-BytesIO-with-input-URL into master
Compare changes
Files
1- Erin (Josh) Rigler authored
It turns out that none of the factories currently being used in production expects bytes as input, and in fact, Util.read_url() converts everthing to a string anyway, so a BYTES-oriented input would couldn't not possibly be working. So, just remove all use of BYTESIO, and instead use only STRINGIO.