bug fix: add path to git commands

This commit is contained in:
Usman Nasir
2020-03-09 08:59:57 +05:00
parent bf255dcb90
commit 91af462271
5 changed files with 134 additions and 4 deletions

View File

@@ -731,5 +731,13 @@ def fetchFolderDetails(request):
userID = request.session['userID']
wm = WebsiteManager()
return wm.fetchFolderDetails(userID, json.loads(request.body))
except KeyError:
return redirect(loadLoginPage)
def initRepo(request):
try:
userID = request.session['userID']
wm = WebsiteManager()
return wm.initRepo(userID, json.loads(request.body))
except KeyError:
return redirect(loadLoginPage)