diff --git a/web_view.py b/web_view.py index 354ee95..96ab370 100755 --- a/web_view.py +++ b/web_view.py @@ -394,7 +394,7 @@ def save_done() -> str: @app.route("/api/1/hits") def api_hits() -> werkzeug.wrappers.response.Response: - """Return canidates for the given article title.""" + """Return candidates for the given article title.""" title = flask.request.args.get("title") assert title ret = core.do_search(title) @@ -406,7 +406,7 @@ def api_hits() -> werkzeug.wrappers.response.Response: @app.route("/api/1/valid_hit") def api_valid_hit() -> werkzeug.wrappers.response.Response: - """Return canidates for the given article title.""" + """Return candidates for the given article title.""" link_from = flask.request.args["link_from"] link_to = flask.request.args["link_to"]