diff --git a/plogical/IncScheduler.py b/plogical/IncScheduler.py index 1ee4a8f8f..b42623e32 100644 --- a/plogical/IncScheduler.py +++ b/plogical/IncScheduler.py @@ -1389,9 +1389,7 @@ def RemoteBackup(function): @staticmethod def SendTORemote(FileName, RemoteBackupID): - import pysftp import json - import pysftp as sftp from websiteFunctions.models import RemoteBackupConfig try: diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index 910e57d09..0f89134dc 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -3015,8 +3015,8 @@ def RestoreWPbackupNow(self): from managePHP.phpManager import PHPManager from websiteFunctions.website import WebsiteManager from packages.models import Package - import pysftp - import pysftp as sftp + #import pysftp + #import pysftp as sftp import boto3 if os.path.exists(ProcessUtilities.debugPath): diff --git a/requirments.txt b/requirments.txt index e0efc946b..c3d63c1c8 100755 --- a/requirments.txt +++ b/requirments.txt @@ -4,7 +4,7 @@ boto3==1.34.153 botocore==1.34.153 cloudflare==2.8.13 cryptography==43.0.0 -cffi==1.14.3 +cffi Django==4.2.14 docker==7.1.0 google-api-core==2.19.1 @@ -14,14 +14,13 @@ google-auth-httplib2==0.2.0 google-auth-oauthlib==1.2.1 googleapis-common-protos==1.63.2 ipaddress==1.0.23 -mysqlclient==2.0.1 +mysqlclient oauthlib==3.2.2 paramiko==3.4.1 pexpect==4.9.0 -psutil==5.7.3 +psutil py3dns==4.0.2 pyOpenSSL==24.2.1 -pysftp==0.2.9 pyotp PyYAML==6.0.1 requests==2.32.3