Skip to content
Permalink
Browse files

remove settingspyc

  • Loading branch information
usmannasir committed Jan 19, 2020
1 parent f8ba109 commit dde34848d509d4cebc67d8599177e537867efa10
Showing with 4 additions and 2 deletions.
  1. +4 −2 plogical/upgrade.py
@@ -1662,8 +1662,10 @@ def fixPermissions():
command = 'chmod 600 /usr/local/CyberCP/plogical/adminPass.py'
Upgrade.executioner(command, 0)

command = "find /usr/local/CyberCP/ -name '*.pyc' -delete"
Upgrade.executioner(command, 0)
pycsettings = '/usr/local/CyberCP/CyberCP/settings.pyc'

if os.path.exists(pycsettings):
os.remove(pycsettings)


Upgrade.stdOut("Permissions updated.")

0 comments on commit dde3484

Please sign in to comment.
You can’t perform that action at this time.