mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 00:36:10 +01:00
Syntax
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user