remove cluttered pyc files

This commit is contained in:
Usman Nasir
2020-01-19 15:06:51 +05:00
parent cbe7846fa7
commit 06a4206514

View File

@@ -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.")