From d26ae7cfe6cd38ae0fcc8bcc5aa93e8f75450299 Mon Sep 17 00:00:00 2001 From: Hazel Noack Date: Tue, 10 Jun 2025 14:35:18 +0200 Subject: [PATCH] added assets path to code --- scribble_to_epub/__init__.py | 2 +- scribble_to_epub/scribblehub.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/scribble_to_epub/__init__.py b/scribble_to_epub/__init__.py index b43cca0..2402b46 100644 --- a/scribble_to_epub/__init__.py +++ b/scribble_to_epub/__init__.py @@ -1 +1 @@ -__name__ = "scribble_to_epub" \ No newline at end of file +__name__ = "scribble_to_epub" diff --git a/scribble_to_epub/scribblehub.py b/scribble_to_epub/scribblehub.py index ee4f6c3..bb6b6ca 100644 --- a/scribble_to_epub/scribblehub.py +++ b/scribble_to_epub/scribblehub.py @@ -49,6 +49,8 @@ DATE_MATCH = re.compile("Last updated: .*") temp_path = Path("/tmp", __name__) temp_path.mkdir(exist_ok=True) +__assets__ = str(Path(Path(__file__).parent, "assets")) + class Asset: """