Merge pull request #3529 from genial123/api-fix

Finish non-existent API calls instead of timing out
This commit is contained in:
Ruud Burger committed 2014-06-28 23:17:37 +02:00
commit 8347da5a58
1 file changed
+1
+1
View File
@@ -89,6 +89,7 @@ class ApiHandler(RequestHandler):
route = route.strip('/') route = route.strip('/')
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')
self.finish()
return return
# Create lock if it doesn't exist # Create lock if it doesn't exist