From cbde856845e0c24266b852eb03a689854a47c005 Mon Sep 17 00:00:00 2001 From: aranzaiger Date: Mon, 29 Jun 2015 20:19:36 +0300 Subject: [PATCH] fix --- SE_API/ProjectRoutes.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/SE_API/ProjectRoutes.py b/SE_API/ProjectRoutes.py index 973016e..0056c9a 100644 --- a/SE_API/ProjectRoutes.py +++ b/SE_API/ProjectRoutes.py @@ -86,7 +86,7 @@ def create_project(token): print e pass - project.info = get_github_data(project.gitRepository) + project.info = json.dumps(get_github_data(project.gitRepository)) db.put(project) #update user projects list @@ -94,8 +94,6 @@ def create_project(token): db.put(user) db.save - t1 = threading.Thread(target=updateProjectInfo,args=(project.key().id(),)) - t1.start() return Response(response=project.to_JSON(), status=200,