From fcb73453a223306c1c131c87bb5ffb6d48591c8a Mon Sep 17 00:00:00 2001 From: RogerWork Date: Wed, 22 May 2024 15:31:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=9C=8D=E5=8A=A1=E5=99=A8?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/utils/git_util.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update/utils/git_util.py b/update/utils/git_util.py index cb50338..173a0f0 100644 --- a/update/utils/git_util.py +++ b/update/utils/git_util.py @@ -25,10 +25,10 @@ class GitUtil: self.cine_sql_path = os.path.join(settings.BASE_DIR, 'dx', 'sql') self.db_name = self.get_db_name(self.short_release) self.db_config = { - 'host': settings.CONFIG[ENV]['HOST'], - 'user': settings.CONFIG[ENV]['USER'], - 'password': settings.CONFIG[ENV]['PASSWORD'], - 'port': settings.CONFIG[ENV]['PORT'], + 'host': settings.CONFIG[ENV]['DB']['HOST'], + 'user': settings.CONFIG[ENV]['DB']['USER'], + 'password': settings.CONFIG[ENV]['DB']['PASSWORD'], + 'port': settings.CONFIG[ENV]['DB']['PORT'], 'connect_timeout': 5, }