This commit is contained in:
Usman Nasir
2019-12-10 15:09:10 +05:00
parent d0dc397463
commit 5e7aeeb597
231 changed files with 1698 additions and 1697 deletions

View File

@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
# Create your views here.
import json
@@ -61,7 +61,7 @@ def submitBackupCreation(request):
return coreResult
except BaseException, msg:
except BaseException as msg:
logging.writeToFile(str(msg))
@@ -337,5 +337,5 @@ def localInitiate(request):
if os.path.exists(randomFile):
wm = BackupManager()
return wm.submitBackupCreation(1, json.loads(request.body))
except BaseException, msg:
except BaseException as msg:
logging.writeToFile(str(msg))