From a467c81e857a56fc9fb9cf71f7f6e2971e523817 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Fri, 3 Jan 2020 17:50:27 +0500 Subject: [PATCH] enable csf --- firewall/firewallManager.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/firewall/firewallManager.py b/firewall/firewallManager.py index 6bd0102cf..9994fa9d5 100755 --- a/firewall/firewallManager.py +++ b/firewall/firewallManager.py @@ -1325,11 +1325,6 @@ class FirewallManager: else: return ACLManager.loadErrorJson('installStatus', 0) - if os.path.exists('/usr/local/CyberCP/bin/python3'): - final_dic = {'installStatus': 0, 'error_message': 'CSF is not yet supported on Python 3'} - final_json = json.dumps(final_dic) - return HttpResponse(final_json) - execPath = "sudo /usr/local/CyberCP/bin/python " + virtualHostUtilities.cyberPanel + "/plogical/csf.py" execPath = execPath + " installCSF"