genshin-wiki/utils/const.py

6 lines
170 B
Python
Raw Normal View History

2023-04-15 05:09:56 +00:00
from pathlib import Path
PROJECT_ROOT = Path(__file__).joinpath("../../").resolve()
DATA_DIR = PROJECT_ROOT.joinpath("data")
DATA_DIR.mkdir(parents=True, exist_ok=True)