fix(env): ensure the .env is loaded

This commit is contained in:
2025-10-26 14:55:43 +03:00
parent ec985a808d
commit 96a310a80d
5 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import psycopg2
import os
def PSQLConnect():
conn = psycopg2.connect(os.getenv('POSTDRESS_CONNECTION'))
conn = psycopg2.connect(os.getenv('POSTGRES_URL'))
return conn
def PSQLCursor(conn):