bug fix: remote transfer

This commit is contained in:
usmannasir
2024-02-03 12:25:54 +05:00
parent b89418a174
commit 3f0d1e372c

View File

@@ -1204,6 +1204,13 @@ class BackupManager:
port = output.strip('\n')
### if value of port return empty then int function fails which means port is not set so defaults to 22
try:
portT = int(port)
except:
port = '22'
ipFile = os.path.join("/etc", "cyberpanel", "machineIP")
f = open(ipFile)
ownIP = f.read()