Update index.py

This commit is contained in:
Mr Chen
2024-05-17 01:26:35 +08:00
parent 7f707f9aac
commit 6128186a2c
+3 -2
View File
@@ -3278,6 +3278,7 @@ def isSimpleSyncCmd(sql):
def doFullSyncUser(version=''):
time_all_s = time.time()
args = getArgs()
data = checkArgs(args, ['db', 'sign'])
if not data[0]:
@@ -3416,8 +3417,8 @@ def doFullSyncUser(version=''):
# if os.path.exists(bak_file):
# os.system("rm -rf " + bak_file)
time_e = time.time()
print("cos:", time_e - time_s)
time_all_e = time.time()
print("cos:", time_all_e - time_all_s)
return True