fix(database): Fixed the database connection

This commit is contained in:
Kita Trofimov committed 2025-10-26 19:14:51 +03:00
1 parent c117ceb85e
commit 3e4755cca1
2 files changed
+15 -31

No files matched your search

-10
View File
@@ -1,10 +0,0 @@
import psycopg
import os
def PSQLConnect():
conn = psycopg.connect(os.getenv('POSTDRESS_CONNECTION'))
return conn
def PSQLCursor(conn):
cur = conn.cursor()
return cur