From 1be844e57a0bb74f913bd8be8a9acea12cceaf3b Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Thu, 16 Jan 2025 18:37:07 -0600 Subject: [PATCH] Correct spelling mistake --- web_view.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]