genshin-wiki/utils/const.py
2023-04-24 23:06:39 +08:00

10 lines
243 B
Python

from pathlib import Path
PROJECT_ROOT = Path(__file__).joinpath("../../").resolve()
DATA_DIR = PROJECT_ROOT.joinpath("data")
DATA_DIR.mkdir(parents=True, exist_ok=True)
DATABASE_FILE_PATH = DATA_DIR.joinpath("db.sqlite")
NOT_SET = object()