mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-03-14 10:33:58 -03:00
Fix python-3.12 compatibility
This commit is contained in:
parent
0656148694
commit
9c46b4230a
@ -74,7 +74,7 @@ def parse_config(basedir, cfg_patterns, interpolate=True):
|
||||
config = configparser.RawConfigParser(strict=False)
|
||||
|
||||
try:
|
||||
config.readfp(fd, filename=filename)
|
||||
config.read_file(fd, source=filename)
|
||||
except Exception as v:
|
||||
raise ConfigError(v)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user