enhance/ui (#28)

Fix #24

Reviewed-on: #28
This commit is contained in:
2023-06-07 00:59:45 +02:00
parent a149ab71bb
commit 693c596224
10 changed files with 158 additions and 99 deletions

View File

@@ -47,3 +47,9 @@ class Config(object):
if config_var not in Config._CONFIG:
raise Exception(f"Please set the {config_var} variable in the config file {Config._CONFIG_FILE}")
return Config._CONFIG[config_var]
@staticmethod
def set_config_var(name, value):
assert Config._CONFIG
Config._CONFIG[name] = value
return Config