Avoid decoding pyvo query results.
Compare changes
- John Swinbank authored
Recent pyvo, Astropy, etc return results as strings, rather than bytes. Attempting to decode the string as UTF-8 will raise, and the query will fail.
+ 1
− 1
Recent releases of pyvo return str
, rather than bytes
, and so the decode raises an exception.
Recent pyvo, Astropy, etc return results as strings, rather than bytes. Attempting to decode the string as UTF-8 will raise, and the query will fail.