Merge pull request #3529 from genial123/api-fix

Finish non-existent API calls instead of timing out
This commit is contained in:
Ruud Burger
2014-06-28 23:17:37 +02:00
+1
View File
@@ -89,6 +89,7 @@ class ApiHandler(RequestHandler):
route = route.strip('/')
if not api.get(route):
self.write('API call doesn\'t seem to exist')
self.finish()
return
# Create lock if it doesn't exist