diff --git a/README.md b/README.md index 0ea1029b5..b9b331ea8 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ analysis and generation. More information is available on the [Apertium Wiki][1] Requirements ------------ -- Python 3.6+ +- Python 3.8+ - Tornado 4.5.3 - 6.0.4 (`python3-tornado` on Debian/Ubuntu) Additional functionality is provided by installation diff --git a/apertium_apy/gateway.py b/apertium_apy/gateway.py index da2964cad..eb5b54a93 100755 --- a/apertium_apy/gateway.py +++ b/apertium_apy/gateway.py @@ -18,7 +18,7 @@ from tornado.options import enable_pretty_logging # type: ignore from tornado.web import RequestHandler -import apy +from apertium_apy.handlers.base import BaseHandler if False: from typing import Any, Dict, List, Set, Tuple # noqa: F401 @@ -111,7 +111,7 @@ def post(self): self.get() -class ListRequestHandler(apy.BaseHandler): +class ListRequestHandler(BaseHandler): """Handler for list requests. Takes a language-pair-server map and aggregates the language-pairs of all of the servers.""" def initialize(self, server_lang_pair_map):