From c12d1b527c34646708f57dd2d0bb13e7b1b5e572 Mon Sep 17 00:00:00 2001 From: icurfer Date: Sat, 8 Mar 2025 17:16:11 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B0=9C=EB=B0=9C=20=ED=99=98=EA=B2=BD=20?= =?UTF-8?q?=EB=B3=80=EC=88=98=20=ED=98=B8=EC=B6=9C=20=EC=9A=B0=EC=84=A0?= =?UTF-8?q?=EC=88=9C=EC=9C=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- butler_ddochi/settings.py | 10 +++++----- version | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/butler_ddochi/settings.py b/butler_ddochi/settings.py index 81ad8f3..8f686ee 100644 --- a/butler_ddochi/settings.py +++ b/butler_ddochi/settings.py @@ -16,13 +16,13 @@ from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent -# 우선순위: .env.prd > .env.dev > .env -if os.path.exists(os.path.join(BASE_DIR, '.env.prd')): - print("Read Environment File > Used : .env.prd") - load_dotenv(os.path.join(BASE_DIR, '.env.prd')) -elif os.path.exists(os.path.join(BASE_DIR, '.env.dev')): +# 우선순위: .env.dev > .env.prd > .env +if os.path.exists(os.path.join(BASE_DIR, '.env.dev')): print("Read Environment File > Used : .env.dev") load_dotenv(os.path.join(BASE_DIR, '.env.dev')) +elif os.path.exists(os.path.join(BASE_DIR, '.env.prd')): + print("Read Environment File > Used : .env.prd") + load_dotenv(os.path.join(BASE_DIR, '.env.prd')) else: print("None Environment File > Used : local_env") diff --git a/version b/version index 8a64d86..8ed5dd7 100644 --- a/version +++ b/version @@ -1 +1 @@ -dev_0.0.30 \ No newline at end of file +dev_0.0.31 \ No newline at end of file