Skip to content

Commit

Permalink
remove settingspyc
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 19, 2020
1 parent f8ba109 commit dde3484
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plogical/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit dde3484

Please sign in to comment.