replace config file name with var

This commit is contained in:
Justus Kuhlmann 2026-03-23 12:59:59 +01:00
commit 7e76966d5f
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6

View file

@ -88,7 +88,7 @@ def set_config(path: str, section: str, option: str, value: Any) -> None:
value: Any
The value we set the option to.
"""
config_path = os.path.join(path, '.corrlib')
config_path = os.path.join(path, CONFIG_FILENAME)
config = ConfigParser()
if os.path.exists(config_path):
config.read(config_path)