interpolation=None to use % char in config file
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
from configparser import ConfigParser
|
||||
class ChartConfig:
|
||||
def __init__(self, path):
|
||||
cfgp = ConfigParser()
|
||||
cfgp = ConfigParser(interpolation=None)
|
||||
cfgp.read(path)
|
||||
self.chart_config = cfgp["chart"]
|
||||
|
||||
|
@ -16,4 +16,4 @@ T_mix=unit:K
|
||||
T_sorb=unit:K
|
||||
T_sorb.target=-
|
||||
dil=-
|
||||
lev=unit:%%
|
||||
lev=unit:%
|
||||
|
Reference in New Issue
Block a user