Skip to content

Commit

Permalink
bug fix in upgrade function
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Oct 25, 2023
1 parent 2fa3a83 commit b98f979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baseTemplate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def upgrade(request):
res = subprocess.call(cmd)

vers = version.objects.get(pk=1)
from upgrade import Upgrade
from plogical.upgrade import Upgrade
Upgrade.initiateUpgrade(vers.currentVersion, vers.build)
adminData = {"upgrade": 1}
json_data = json.dumps(adminData)
Expand Down

1 comment on commit b98f979

@die2mrw007
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Server error (500) when trying to open Version management page in cyberpanel. Other pages working fine. Kindly check into it.

Please sign in to comment.