fix(env): ensure the .env is loaded
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user