Update index.py

This commit is contained in:
Mr Chen
2024-05-14 19:25:18 +08:00
parent cf44889c74
commit a1e900f5c9
+3 -2
View File
@@ -3104,11 +3104,12 @@ def doFullSyncUser(version=''):
print(dump_sql_data)
mw.execShell(dump_sql_data)
# 重置
db.execute('reset master')
writeDbSyncStatus({'code': 3, 'msg': '正在到本地导入数据中...', 'progress': 40})
if os.path.exists(bak_file):
# 重置
db.execute('reset master')
pwd = pSqliteDb('config').where('id=?', (1,)).getField('mysql_root')
sock = getSocketFile()