ajout de la version

This commit is contained in:
2024-07-21 04:29:23 +02:00
parent 5503f91dad
commit 12d84fca46

View File

@@ -17,7 +17,7 @@ from config.server_config import *
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
VERSION_FILE_PATH = os.path.join(BASE_DIR, 'version')
VERSION_FILE_PATH = os.path.join(BASE_DIR, 'VERSION')
try:
with open(VERSION_FILE_PATH) as version_file: