mirror of
https://github.com/facefusion/facefusion.git
synced 2026-10-12 00:28:41 +02:00
Change naming of config parser
This commit is contained in:
1 parent
a07b77b31a
commit
02d500cdb2
1 file changed
+2
-2
@@ -86,7 +86,7 @@ def get_value_by_notation(key : str) -> Optional[Any]:
|
||||
if '.' in key:
|
||||
section, name = key.split('.')
|
||||
if section in config_parser and name in config_parser[section]:
|
||||
return config_parser[section].get(name)
|
||||
return config_parser[section][name]
|
||||
if key in config_parser:
|
||||
return config_parser.get(key)
|
||||
return config_parser[key]
|
||||
return None
|
||||
Reference in new issue
Block a user