Update index.py

This commit is contained in:
2026-11-04 11:42:18 +08:00
parent c9302f406e
commit 53797c7f56

View File

@@ -2679,7 +2679,8 @@ def getSlaveList(version=''):
data = {}
data['data'] = dlist
return mw.getJson(data)
# 状态字段中包含 datetime 等对象,需转成字符串后才能序列化
return json.dumps(data, default=str)
def trySlaveSyncBugfix(version=''):
if status(version) == 'stop':