Skip to content

Commit

Permalink
uprade logs messages
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Jan 9, 2024
1 parent 0ee3e5e commit e7676b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions baseTemplate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ def upgradeStatus(request):

if upgradeLog.find("Upgrade Completed") > -1:

command = f'rm -rf {path}'
ProcessUtilities.executioner(command)

final_json = json.dumps({'finished': 1, 'upgradeStatus': 1,
'error_message': "None",
'upgradeLog': upgradeLog})
Expand Down

0 comments on commit e7676b4

Please sign in to comment.