From 688f9e2375651d8b9994a67f78f1f2d2bd68bc56 Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Fri, 19 Aug 2022 18:12:16 +0200 Subject: [PATCH] config.ConfigStateHolder: initialize self._profile_cache in constructor --- config/state.py | 1 + 1 file changed, 1 insertion(+) diff --git a/config/state.py b/config/state.py index 0a800db..1f67334 100644 --- a/config/state.py +++ b/config/state.py @@ -189,6 +189,7 @@ class ConfigStateHolder: self.file_state = ConfigLoadState() self.runtime = RuntimeConfiguration.fromDict(CONFIG_RUNTIME_DEFAULTS | runtime_conf) self.runtime['arch'] = os.uname().machine + self._profile_cache = {} if file_conf_path: self.try_load_file(file_conf_path)