mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-03-19 04:54:11 -03:00
Fix config parse error in case of two sections with same name in config
This commit is contained in:
parent
af579d007e
commit
49210d6471
@ -71,7 +71,7 @@ def parse_config(basedir, cfg_patterns, interpolate=True):
|
||||
|
||||
try:
|
||||
fd.seek(0) # handle case when source config is fd
|
||||
config = configparser.RawConfigParser()
|
||||
config = configparser.RawConfigParser(strict=False)
|
||||
|
||||
try:
|
||||
config.readfp(fd, filename=filename)
|
||||
|
Loading…
Reference in New Issue
Block a user