From e7676b4d4ddf1d8bb94f3b19fb6bdcf0377a70b5 Mon Sep 17 00:00:00 2001 From: usmannasir Date: Tue, 9 Jan 2024 19:51:53 +0500 Subject: [PATCH] uprade logs messages --- baseTemplate/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/baseTemplate/views.py b/baseTemplate/views.py index ee32c75af..01c18de19 100755 --- a/baseTemplate/views.py +++ b/baseTemplate/views.py @@ -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})