Atticux commited on
Commit
e90dc8e
·
verified ·
1 Parent(s): bc06525

Update src/pdf2u/const.py

Browse files
Files changed (1) hide show
  1. 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.home() / ".cache" / "pdf2u"
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: