From d4e417ae5c98e3fe04b3dace75bd92182ecc199a Mon Sep 17 00:00:00 2001 From: Ross Smith Date: Thu, 16 May 2024 21:51:10 +0100 Subject: [PATCH] fix: Revert linting bug (#932) --- code/create_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/create_app.py b/code/create_app.py index 26fe70ee3..c5811cfd3 100644 --- a/code/create_app.py +++ b/code/create_app.py @@ -326,8 +326,8 @@ def create_app(): @app.route("/", defaults={"path": "index.html"}) @app.route("/") - def static_file(file_path): - return app.send_static_file(file_path) + def static_file(path): + return app.send_static_file(path) @app.route("/api/health", methods=["GET"]) def health():