I have conf file with content:
key1=value1
key2=value2
font="\"Font\""
and it's used like values in bash script.
When I change some value with cgi+python3 and ConfigObj 4.7.0:
def set_conf_values(filename, param, value):
config = ConfigObj(filename)
config['%s' % param] = value
config.write()
the conf file is rewriten and the format is new:
key1 = value1
key2 = value2
font = `\"Font\"`
Event for values which is untouched. That's break my Bash script it takes keys as commands...
I hope there is option to avoid that but can't find such thing in docs.