From dcbf1fe05f894839832833b8a088157b3f7b7a8a Mon Sep 17 00:00:00 2001 From: Stan Soldatov Date: Mon, 17 Feb 2025 22:03:30 +0100 Subject: [PATCH] Get schema case fix. --- webui/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webui/config.py b/webui/config.py index 089a676..1f7d513 100644 --- a/webui/config.py +++ b/webui/config.py @@ -61,6 +61,7 @@ def get_schema(game_code: str, schema_type: Literal["texture", "tree"]) -> list[ Returns: list[dict[str, Any]]: The schema for the specified game and schema type. """ + game_code = game_code.lower() schema_path = os.path.join(DATA_DIRECTORY, f"{game_code}-{schema_type}-schema.json") if not os.path.isfile(schema_path):