mirror of
https://github.com/IgorL123/mafia_api.git
synced 2026-09-24 07:30:15 +00:00
upd
This commit is contained in:
@@ -3,12 +3,12 @@ import psycopg2
|
||||
|
||||
db_params = {
|
||||
'host': '51.250.68.42',
|
||||
'database': 'test',
|
||||
'database': 'postgres',
|
||||
'user': 'curator',
|
||||
'password': '4oumQk'
|
||||
}
|
||||
|
||||
# connection = psycopg2.connect(**db_params) #запускаем один раз
|
||||
connection = psycopg2.connect(**db_params) # запускаем один раз
|
||||
|
||||
|
||||
def conn(conn=connection):
|
||||
|
||||
Reference in New Issue
Block a user