Skip to content

Commit

Permalink
bug fix: issues with python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Nov 25, 2024
1 parent 68832c4 commit 217dc0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions plogical/IncScheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions plogical/applicationInstaller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
7 changes: 3 additions & 4 deletions requirments.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 217dc0d

Please sign in to comment.