From b95718c5e1cb13ab634472b7f3828a3f907a5aff Mon Sep 17 00:00:00 2001 From: CYBER PERSONS Date: Sat, 22 May 2021 15:57:13 +0500 Subject: [PATCH] bug fix lsws trial install --- install/installCyberPanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 102ce1106..c8fa3ff60 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -93,7 +93,7 @@ class InstallCyberPanel: command = 'tar zxf lsws-6.0-ent-x86_64-linux.tar.gz' install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) - if str.lower(self.serial) == 'trial': + if self.serial.lower() == 'trial': command = 'wget -q --output-document=lsws-6.0/trial.key http://license.litespeedtech.com/reseller/trial.key' install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) else: