Cleanup: make_license: use Path more deliberately

Changes suggested by Sybren Stüvel.
This commit is contained in:
Dalai Felinto
2024-10-21 11:40:23 +02:00
parent 5ffab634d8
commit 94959cb84f

View File

@@ -8,8 +8,8 @@ from pathlib import Path
import os
CURRENT_DIR = Path(os.path.dirname(__file__))
ROOT = Path(os.path.abspath(CURRENT_DIR / "../../"))
CURRENT_DIR = Path(__file__).parent
ROOT = CURRENT_DIR.resolve().parent.parent
@dataclass