mirror of
https://github.com/natekspencer/hacs-oasis_mini.git
synced 2025-11-13 07:33:51 -05:00
12 lines
292 B
Python
12 lines
292 B
Python
"""Constants."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import json
|
|
import os
|
|
from typing import Final
|
|
|
|
__TRACKS_FILE = os.path.join(os.path.dirname(__file__), "tracks.json")
|
|
with open(__TRACKS_FILE, "r", encoding="utf8") as file:
|
|
TRACKS: Final[dict[str, dict[str, str]]] = json.load(file)
|