Update index.py

pull/577/head
Mr Chen 1 year ago
parent cf44889c74
commit a1e900f5c9
  1. 5
      plugins/mysql/index.py

@ -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()

Loading…
Cancel
Save