diff --git a/charidotella/utilities.py b/charidotella/utilities.py index 01d2eed..031e231 100644 --- a/charidotella/utilities.py +++ b/charidotella/utilities.py @@ -79,5 +79,5 @@ def timecode(value: str) -> int: def asset_path(name: str) -> pathlib.Path: if sys.version_info[0:3] < (3, 9, 0): - return importlib.resources.path("charidotella", f"assets/{name}").__enter__() # type: ignore + return importlib.resources.path("charidotella", "assets").__enter__() / name # type: ignore return importlib.resources.files("charidotella").joinpath(f"assets/{name}") # type: ignore diff --git a/charidotella/version.py b/charidotella/version.py index f5f41e5..d539d50 100644 --- a/charidotella/version.py +++ b/charidotella/version.py @@ -1 +1 @@ -__version__ = "3.1.0" +__version__ = "3.1.1"