Update index.py

This commit is contained in:
midoks
2022-08-06 01:27:18 +08:00
parent c7fd2ca555
commit 41b36a7fc2
+2 -1
View File
@@ -2186,7 +2186,8 @@ def doFullSync(version=''):
if result.strip() == 'ok':
writeDbSyncStatus({'code': 1, 'msg': '主服务器备份完成...', 'progress': 30})
else:
writeDbSyncStatus({'code': 1, 'msg': '主服务器备份失败...', 'progress': 100})
writeDbSyncStatus(
{'code': 1, 'msg': '主服务器备份失败...:' + str(result), 'progress': 100})
return 'fail'
print("同步文件", "start")