ajout de la version
This commit is contained in:
@@ -17,7 +17,7 @@ from config.server_config import *
|
|||||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
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:
|
try:
|
||||||
with open(VERSION_FILE_PATH) as version_file:
|
with open(VERSION_FILE_PATH) as version_file:
|
||||||
|
|||||||
Reference in New Issue
Block a user