interpolation=None to use % char in config file

This commit is contained in:
l_samenv
2024-09-06 13:39:49 +02:00
parent aa80454a2f
commit 5cf19f99d0
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
from configparser import ConfigParser from configparser import ConfigParser
class ChartConfig: class ChartConfig:
def __init__(self, path): def __init__(self, path):
cfgp = ConfigParser() cfgp = ConfigParser(interpolation=None)
cfgp.read(path) cfgp.read(path)
self.chart_config = cfgp["chart"] self.chart_config = cfgp["chart"]

View File

@ -16,4 +16,4 @@ T_mix=unit:K
T_sorb=unit:K T_sorb=unit:K
T_sorb.target=- T_sorb.target=-
dil=- dil=-
lev=unit:%% lev=unit:%