Allow non-unique config sections

This commit is contained in:
Jordan Webb 2022-08-19 23:15:01 -05:00
parent 6e3c3a25f3
commit 13435dcbf4
No known key found for this signature in database
GPG key ID: C341950C47B6CE14

View file

@ -320,6 +320,7 @@ func ParseConfig(path string) (*Configuration, error) {
iniOpt := ini.LoadOptions{ iniOpt := ini.LoadOptions{
Insensitive: true, Insensitive: true,
AllowShadows: true, AllowShadows: true,
AllowNonUniqueSections: true,
} }
cfg, err := ini.LoadSources(iniOpt, path) cfg, err := ini.LoadSources(iniOpt, path)