I have some config file like this:
[main]
key_one =
hello
this
is
indented
But when I read it using the configparser library in python like so:
import configparser
cfg = configparser.ConfigParser()
cfg.read("path/to/file.ini")
print(cfg["main"]["key_one"])
Prints out:
hello
this
is
indented
I've tried using tabs, more than two spaces per indent, nothing seems to work. How can I get configparser to recognize indents?