Update version number to v4.2.1

This commit is contained in:
Donald Zou 2025-04-23 19:30:41 +08:00
parent edf3c42157
commit 608c1b4eb6
2 changed files with 2 additions and 9 deletions

View File

@ -25,7 +25,7 @@ from modules.PeerJob import PeerJob
from modules.SystemStatus import SystemStatus from modules.SystemStatus import SystemStatus
SystemStatus = SystemStatus() SystemStatus = SystemStatus()
DASHBOARD_VERSION = 'v4.2.0.1' DASHBOARD_VERSION = 'v4.2.1'
CONFIGURATION_PATH = os.getenv('CONFIGURATION_PATH', '.') CONFIGURATION_PATH = os.getenv('CONFIGURATION_PATH', '.')
DB_PATH = os.path.join(CONFIGURATION_PATH, 'db') DB_PATH = os.path.join(CONFIGURATION_PATH, 'db')
@ -1904,13 +1904,6 @@ class DashboardConfig:
else: else:
return False, "Section does not exist" return False, "Section does not exist"
if not init:
print(key)
print(self.__config[section].keys())
print(value)
print(self.__config[section][key])
if ((key not in self.__config[section].keys() and init) or if ((key not in self.__config[section].keys() and init) or
(key in self.__config[section].keys())): (key in self.__config[section].keys())):
if type(value) is bool: if type(value) is bool:

View File

@ -1,6 +1,6 @@
{ {
"name": "app", "name": "app",
"version": "4.2.0.1", "version": "4.2.1",
"private": true, "private": true,
"type": "module", "type": "module",
"scripts": { "scripts": {