Update index.py

This commit is contained in:
midoks
2023-02-14 17:56:16 +08:00
parent f97d2a5987
commit 7cb9b0acec
+2
View File
@@ -200,6 +200,7 @@ def backupAllFunc(stype):
bk_name = stype
if stype.find('database_') > -1:
bk_name = 'database'
stype = 'database'
plugin_name = stype.replace('database_', '')
bk_prefix = plugin_name + '/db'
@@ -212,6 +213,7 @@ def backupAllFunc(stype):
mw.echoInfo("not find upload file!")
return False
print("|-准备上传文件 {}".format(filename))
ftp = FtpPSClient()
ftp.uploadFile(filename, stype)