Update src/pdf2u/const.py
Browse files- src/pdf2u/const.py +2 -1
src/pdf2u/const.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
|
|
| 1 |
from enum import StrEnum
|
| 2 |
from pathlib import Path
|
| 3 |
|
| 4 |
-
CACHE_FOLDER = Path.
|
| 5 |
|
| 6 |
|
| 7 |
def get_cache_file_path(filename: str) -> Path:
|
|
|
|
| 1 |
+
import tempfile
|
| 2 |
from enum import StrEnum
|
| 3 |
from pathlib import Path
|
| 4 |
|
| 5 |
+
CACHE_FOLDER = Path(tempfile.gettempdir()) / "pdf2u_cache"
|
| 6 |
|
| 7 |
|
| 8 |
def get_cache_file_path(filename: str) -> Path:
|