Browse Source

Return if api is not found

pull/1857/head
Ruud 12 years ago
parent
commit
9bf006f4d3
  1. 1
      couchpotato/api.py

1
couchpotato/api.py

@ -46,6 +46,7 @@ class ApiHandler(RequestHandler):
def get(self, route):
if not api.get(route):
self.write('API call doesn\'t seem to exist')
return
kwargs = {}
for x in self.request.arguments:

Loading…
Cancel
Save