Update index.py

pull/594/head
Mr Chen 11 months ago
parent dc22fc81e7
commit 05e74503c5
  1. 1
      plugins/backup_ftp/index.py

@ -202,6 +202,7 @@ def backupAllFunc(stype):
backups = sql.table('backup').where(
'type=? and pid=?', ('1', pid)).field('id,filename').select()
if stype == 'path':
backup_dir = mw.getBackupDir()
backup_path = backup_dir + '/path'
_name = 'path_{}'.format(os.path.basename(name))
backups = findPathName(backup_path, _name)

Loading…
Cancel
Save