aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.py')
-rwxr-xr-xsrc/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.py b/src/app.py
index 5af55af..b0c4672 100755
--- a/src/app.py
+++ b/src/app.py
@@ -44,6 +44,7 @@ import cgi
from collections import namedtuple
from concurrent.futures import ThreadPoolExecutor
from enum import Enum
+from http import HTTPStatus
import http.server
import json
import os
@@ -66,7 +67,7 @@ def split_by(xs, sep):
class Response:
- DEFAULT_STATUS = http.server.HTTPStatus.OK
+ DEFAULT_STATUS = HTTPStatus.OK
@staticmethod
def body_from_json(body):