Update index.py

pull/368/head
midoks 2 years ago
parent 4390180a89
commit c3afaeb35a
  1. 2
      plugins/backup_ftp/index.py

@ -196,7 +196,6 @@ def backupAllFunc(stype):
os.system(cmd) os.system(cmd)
# 开始执行上传信息 # 开始执行上传信息
bk_name = stype
if stype.find('database_') > -1: if stype.find('database_') > -1:
bk_name = 'database' bk_name = 'database'
plugin_name = stype.replace('database_', '') plugin_name = stype.replace('database_', '')
@ -204,6 +203,7 @@ def backupAllFunc(stype):
stype = 'database' stype = 'database'
else: else:
bk_prefix = prefix_dict[stype] bk_prefix = prefix_dict[stype]
bk_name = stype
find_path = mw.getBackupDir() + '/' + bk_name + '/' + bk_prefix + '_' + name find_path = mw.getBackupDir() + '/' + bk_name + '/' + bk_prefix + '_' + name
find_new_file = "ls " + find_path + \ find_new_file = "ls " + find_path + \

Loading…
Cancel
Save