Update index.py

This commit is contained in:
midoks
2023-02-14 18:23:42 +08:00
parent 4390180a89
commit c3afaeb35a
+1 -1
View File
@@ -196,7 +196,6 @@ def backupAllFunc(stype):
os.system(cmd)
# 开始执行上传信息
bk_name = stype
if stype.find('database_') > -1:
bk_name = 'database'
plugin_name = stype.replace('database_', '')
@@ -204,6 +203,7 @@ def backupAllFunc(stype):
stype = 'database'
else:
bk_prefix = prefix_dict[stype]
bk_name = stype
find_path = mw.getBackupDir() + '/' + bk_name + '/' + bk_prefix + '_' + name
find_new_file = "ls " + find_path + \