mirror of
https://github.com/PaiGramTeam/genshin-wiki.git
synced 2024-11-23 08:00:59 +00:00
10 lines
243 B
Python
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()
|