fix(env): ensure the .env is loaded

This commit is contained in:
2025-10-26 14:55:43 +03:00
parent ce48859079
commit 2b7fecb248
5 changed files with 14 additions and 9 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):