diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 815b7e6..e5129ee 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -9,6 +9,11 @@ "Build LibrarySystem (Debug)" ], "command": "cmd", + "args": [ + "/c", + "echo", + "Build Complete" + ], "group": { "kind": "build", "isDefault": true @@ -48,7 +53,8 @@ "presentation": { "reveal": "always", "panel": "new", - "focus": false + "focus": false, + "close": true }, // "dependsOn": "Compress dist Folder Debug", "problemMatcher": "$python" @@ -80,7 +86,8 @@ "presentation": { "reveal": "always", "panel": "new", - "focus": false + "focus": false, + "close": true }, "problemMatcher": "$python" }, diff --git a/config/config.py b/config/config.py index 871778e..1361a23 100644 --- a/config/config.py +++ b/config/config.py @@ -107,26 +107,7 @@ class Config: if self._config is None: raise RuntimeError("Configuration not loaded") self._config.debug = value - @property - def log_debug(self)->bool: - if self._config is None: - raise RuntimeError("Configuration not loaded") - return self._config.log_debug - @log_debug.setter - def log_debug(self, value: bool): - if self._config is None: - raise RuntimeError("Configuration not loaded") - self._config.log_debug = value - @property - def ic_logging(self)->bool: - if self._config is None: - raise RuntimeError("Configuration not loaded") - return self._config.ic_logging - @ic_logging.setter - def ic_logging(self, value:bool): - if self._config is None: - raise RuntimeError("Configuration not loaded") - self._config.ic_logging = value + def save(self): if self._config is None: raise RuntimeError("Configuration not loaded")