From 2c3ef6626d7d68fa9a1816404d01035d9bdbd708 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 4 Jul 2019 17:12:20 +0300 Subject: Fix: class name --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index 47596b7..88b6381 100755 --- a/api.py +++ b/api.py @@ -146,7 +146,7 @@ class API: return bottle.HTTPError(400) except Exception as e: logging.warning('Caught exception: %s', str(e)) - return bottle.httpError(500) + return bottle.HTTPError(500) class Controller(API): -- cgit v1.2.1