From 66ab8b413caa71fd75f4cf935d4ccc9d27ccf6d1 Mon Sep 17 00:00:00 2001 From: rperper Date: Tue, 30 Oct 2018 15:58:45 -0400 Subject: [PATCH] Syntax --- install/installCyberPanel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 3b28eebf5..105d27bf2 100644 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -1212,7 +1212,7 @@ def Main(cwd, mysql, distro): InstallCyberPanel.mysql_Root_password = randomPassword.generate_pass() file_name = '/etc/cyberpanel/mysqlPassword' - if access(file_name, os.F_OK): + if os.access(file_name, os.F_OK): password = open(file_name, 'r') InstallCyberPanel.mysql_Root_password = password.readline() else: