Update index.py

This commit is contained in:
midoks 2021-02-06 13:49:01 +08:00
parent e7ae59986f
commit 9fe5da8de9
1 changed files with 3 additions and 0 deletions

View File

@ -1639,6 +1639,9 @@ def fullSync(version=''):
if os.path.exists(status_file):
c = mw.readFile(status_file)
d = json.loads(c)
if d['code'] == '6':
os.remove(status_file)
return c
return json.dumps({'code': 0, 'msg': '点击开始,开始导入!', 'progress': 0})