12 lines
406 B
Python
12 lines
406 B
Python
from __future__ import annotations
|
|
|
|
from pathlib import Path
|
|
|
|
ORION_ASSET_DIR = Path(__file__).resolve().parent / "assets"
|
|
SCHUBAMED_LOGO_PATH = ORION_ASSET_DIR / "schubamed-logo.svg"
|
|
|
|
|
|
def schubamed_logo_uri() -> str:
|
|
if not SCHUBAMED_LOGO_PATH.exists():
|
|
raise FileNotFoundError(f"Required Orion logo asset is missing: {SCHUBAMED_LOGO_PATH}")
|
|
return SCHUBAMED_LOGO_PATH.resolve().as_uri()
|