fix: fix
This commit is contained in:
parent
ee5b4d64f3
commit
4d94aa8bf5
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ from dotenv import load_dotenv
|
|||
|
||||
load_dotenv()
|
||||
|
||||
host = os.getenv('DB_HOST_UPGRADE') if os.getenv('DB_HOST_UPGRADE') else os.getenv('DB_HOST')
|
||||
host = os.getenv('DB_HOST_UPDATE') if os.getenv('DB_HOST_UPDATE') else os.getenv('DB_HOST')
|
||||
conn = psycopg2.connect(
|
||||
host=host,
|
||||
database=os.getenv('DB_NAME'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue