mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-15 03:52:04 +01:00
remove cluttered pyc files
This commit is contained in:
@@ -1662,11 +1662,8 @@ CSRF_COOKIE_SECURE = True
|
||||
command = 'chmod 600 /usr/local/CyberCP/plogical/adminPass.py'
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
# pycsettings = '/usr/local/CyberCP/CyberCP/settings.pyc'
|
||||
#
|
||||
# if os.path.exists(pycsettings):
|
||||
# os.remove(pycsettings)
|
||||
|
||||
command = "find /usr/local/CyberCP/ -name '*.pyc' -delete"
|
||||
Upgrade.executioner(command, 0)
|
||||
|
||||
Upgrade.stdOut("Permissions updated.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user