Update ftp_client.py

pull/632/head
Mr Chen 5 months ago
parent efc715678b
commit 7a1bc2ee39
  1. 8
      plugins/backup_ftp/class/ftp_client.py

@ -14,8 +14,12 @@ import json
import paramiko
import ftplib
sys.path.append(os.getcwd() + "/class/core")
import mw
web_dir = os.getcwd() + "/web"
if os.path.exists(web_dir):
sys.path.append(web_dir)
os.chdir(web_dir)
import core.mw as mw
DEBUG = True
BLOCK_SIZE = 1024 * 1024 * 2

Loading…
Cancel
Save