bug fix in format string

This commit is contained in:
Usman Nasir
2021-03-22 23:02:38 +05:00
parent 249202b63f
commit e9a9e45184

View File

@@ -9,7 +9,7 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")
class UpgradeCyberPanel:
LogURL = "http://cloud.cyberpanel.net:8000/settings/RecvData"
LogURL = "https://cloud.cyberpanel.net/settings/RecvData"
def __init__(self, branch, mail, dns, ftp):
ipFile = "/etc/cyberpanel/machineIP"
@@ -48,7 +48,7 @@ class UpgradeCyberPanel:
## Backup current CyberCP, incase of failure restore
self.PostStatus('Backing up current installation..,5' % (self.branch))
self.PostStatus('Backing up current installation..,5')
command = 'cp -R /usr/local/CyberCP /usr/local/CyberCPBak'
Upgrade.executioner(command, command)