Completed feature for #843

This commit is contained in:
Donald Zou
2025-08-17 18:58:28 +08:00
parent f418520f66
commit e61afba608
6 changed files with 34 additions and 18 deletions

View File

@@ -251,7 +251,7 @@ class DashboardConfig:
except Exception as e:
return False
def GetConfig(self, section, key) ->tuple[bool, bool] | tuple[bool, str] | tuple[bool, list[str]] | tuple[bool, None]:
def GetConfig(self, section, key) ->tuple[bool, bool] | tuple[bool, str] | tuple[bool, list[str]] | tuple[bool, None]:
if section not in self.__config:
return False, None