From c03a3cef69449e703cb906bd3bc97ba4fd216c92 Mon Sep 17 00:00:00 2001 From: aranzaiger Date: Thu, 18 Jun 2015 21:30:25 +0300 Subject: [PATCH] small fix --- SE_API/CampusRoutes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SE_API/CampusRoutes.py b/SE_API/CampusRoutes.py index 11af4b3..7e83635 100644 --- a/SE_API/CampusRoutes.py +++ b/SE_API/CampusRoutes.py @@ -66,7 +66,7 @@ def create_campus(token): #check if name already exists try: query = Campus.all() - query.filter("title = ", payload['title']) + query.filter("title =", payload['title']) for c in query.run(limit=1): return forbidden("Campus with same name already exists") except Exception as e: