OpenExoplanetCatalogue / open_exoplanet_catalogue

The main data repository for the Open Exoplanet Catalogue
http://openexoplanetcatalogue.com
987 stars 217 forks source link

Attempt to fix cleanup.py errors #1121

Open SevenSpheres opened 1 year ago

SevenSpheres commented 1 year ago

When trying to run cleanup.py for #1120 I got UnicodeDecodeError. With this change it worked. The error is probably Windows-specific, since apparently the script was originally trying to use CP1252 encoding.

hannorein commented 1 year ago

I'm hesitant to merge that in as it will break python2 support (which I still use on some backend servers).