btleyden / gslab_python

Python tools for GSLab
MIT License
0 stars 0 forks source link

Replace 'rU' mode when open() is called #9

Open btleyden opened 8 months ago

btleyden commented 8 months ago

Goal Replace 'rU' with 'r' mode when open is called.

'U' mode has been removed as of Python 3.11, and so open(fp, mode='rU') now throws a ValueError. This can be fixed by just using 'r' mode.