mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 01:06:58 +00:00
Update dashboard.py
Fixed issue where new user can't finish welcome session
This commit is contained in:
parent
924d760e3b
commit
d0d0642bdf
@ -1904,8 +1904,15 @@ class DashboardConfig:
|
||||
else:
|
||||
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
|
||||
(key in self.__config[section].keys() and value != self.__config[section][key] and not init)):
|
||||
(key in self.__config[section].keys())):
|
||||
if type(value) is bool:
|
||||
if value:
|
||||
self.__config[section][key] = "true"
|
||||
|
Loading…
x
Reference in New Issue
Block a user