mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-12 08:16:11 +01:00
uprade logs messages
This commit is contained in:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user