fix: update app version resolver in flowsettings (#180) (bump:patch)

This commit is contained in:
Tuan Anh Nguyen Dang (Tadashi_Cin)
2024-09-02 17:42:39 +07:00
committed by GitHub
parent 4d5f9ba39c
commit 35b2927e5c
4 changed files with 13 additions and 9 deletions

View File

@@ -3,4 +3,6 @@ from pathlib import Path
from decouple import config
PDFJS_VERSION_DIST: str = config("PDFJS_VERSION_DIST", "pdfjs-4.0.379-dist")
PDFJS_PREBUILT_DIR: Path = Path(__file__).parent / "prebuilt" / PDFJS_VERSION_DIST
PDFJS_PREBUILT_DIR: Path = config(
"PDFJS_PREBUILT_DIR", Path(__file__).parent / "prebuilt" / PDFJS_VERSION_DIST
)