This commit is contained in:
Johannes Kirschbauer
2024-04-23 11:16:33 +02:00
parent 5fffc1d50b
commit 51a32dd5c6
3 changed files with 36 additions and 0 deletions

View File

@@ -1,3 +1,8 @@
from pathlib import Path
from typing import Union
loc: Path = Path(__file__).parent
def get_asset(name: Union[str, Path]) -> Path:
return loc / name