Skip to content
Permalink
Browse files

bug fix: backup engine

  • Loading branch information...
usmannasir committed Sep 11, 2019
1 parent c597894 commit 60007ba65499d6f3a30393eb47714fbeddca656e
Showing with 3 additions and 0 deletions.
  1. +3 −0 backup/backupManager.py
@@ -178,6 +178,9 @@ def backupStatus(self, userID = None, data = None):
try:
command = "sudo cat " + backupFileNamePath
fileName = ProcessUtilities.outputExecutioner(command, domain.externalApp)
if fileName.find('No such file or directory') > -1:
final_json = json.dumps({'backupStatus': 0, 'error_message': "None", "status": 0, "abort": 0})
return HttpResponse(final_json)
except:
fileName = "Fetching.."

0 comments on commit 60007ba

Please sign in to comment.
You can’t perform that action at this time.