Return if api is not found
This commit is contained in:
@@ -46,6 +46,7 @@ class ApiHandler(RequestHandler):
|
|||||||
def get(self, route):
|
def get(self, route):
|
||||||
if not api.get(route):
|
if not api.get(route):
|
||||||
self.write('API call doesn\'t seem to exist')
|
self.write('API call doesn\'t seem to exist')
|
||||||
|
return
|
||||||
|
|
||||||
kwargs = {}
|
kwargs = {}
|
||||||
for x in self.request.arguments:
|
for x in self.request.arguments:
|
||||||
|
|||||||
Reference in New Issue
Block a user