aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/configs/manager.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py
index 513878f..eabff00 100644
--- a/fg21sim/configs/manager.py
+++ b/fg21sim/configs/manager.py
@@ -91,14 +91,7 @@ class ConfigManager:
def get(self, key, fallback=None):
"""Get config value by key."""
- if key in self._config:
- value = self._config[key]
- else:
- value = fallback
- return value
-
- def set(self, key, value):
- self._config[key] = value
+ return self._config.get(key, fallback)
@property
def logging(self):