interpolation=None to use % char in config file
This commit is contained in:
@ -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"]
|
||||||
|
|
||||||
|
@ -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:%
|
||||||
|
Reference in New Issue
Block a user