update python path

This commit is contained in:
Usman Nasir
2019-12-11 11:09:49 +05:00
parent 6e6cbed1a0
commit 271de2d067

View File

@@ -526,12 +526,12 @@ class preFlightsChecks:
os.chdir("CyberCP")
command = "/usr/local/CyberCP/bin/python manage.py makemigrations"
command = "/usr/local/CyberPanel/bin/python manage.py makemigrations"
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
##
command = "/usr/local/CyberCP/bin/python manage.py migrate"
command = "/usr/local/CyberPanel/bin/python manage.py migrate"
preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR)
if not os.path.exists("/usr/local/CyberCP/public"):