labscript-suite / labscript-utils

Shared modules used by the 𝘭𝘒𝘣𝘴𝘀𝘳π˜ͺ𝘱𝘡 𝘴𝘢π˜ͺ𝘡𝘦. Includes a graphical exception handler, debug tools, configuration management, cross platform filepath conversions, unit conversions and custom GUI widgets.
http://labscriptsuite.org
Other
2 stars 45 forks source link

Fix bug on Python3.6 #81

Closed chrisjbillington closed 2 years ago

chrisjbillington commented 2 years ago

where Path object not able to be treated as a string in ConfigParser.

This leads to errors when trying to read keys from labconfig.

dihm commented 2 years ago

This seems innocent enough to me. I especially appreciate the inline comments noting which version of python it is for in case we want to strip it out later once 3.6 support is eventually dropped.

Merging.