Update backup.py

This commit is contained in:
midoks 2022-08-03 21:10:37 +08:00
parent d90b139714
commit 5906ce18b5
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class backupTools:
mw.M('backup').add('type,name,pid,filename,addtime,size', (1, os.path.basename(
filename), pid, filename, endDate, os.path.getsize(filename)))
log = "数据库[" + name + "]备份成功,用时[" + str(round(outTime, 2)) + u"]秒"
log = "数据库[" + name + "]备份成功,用时[" + str(round(outTime, 2)) + "]秒"
mw.writeLog('计划任务', log)
print("★[" + endDate + "] " + log)
print("|---保留最新的[" + count + "]份备份")