mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -577,7 +577,7 @@ def setSiteObjOpen():
|
||||
content = public.readFile(path)
|
||||
content = json.loads(content)
|
||||
|
||||
if obj in content[siteName]:
|
||||
if type(content[siteName][obj]) == bool:
|
||||
if content[siteName][obj]:
|
||||
content[siteName][obj] = False
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user