configfile: Use Python2's ConfigParser when running on Python2

The backport of Python3's configparser causes issues when there is
unicode characters in the config file.  To avoid introducing new
errors, go back to using the Python2 version of ConfigParser when
running on Python2.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-10-09 19:34:08 -04:00
parent 21d5a34d22
commit c56c34fa1c
3 changed files with 8 additions and 6 deletions

View file

@ -7,4 +7,3 @@ pyserial==3.4
greenlet==1.1.2
Jinja2==2.11.3
python-can==3.3.4
configparser==4.0.2