Skip to content

Commit

Permalink
Get schema case fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iwatkot authored Feb 17, 2025
1 parent 9812578 commit a7627b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webui/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a7627b9

Please sign in to comment.