From 713525aa38c396436c934169c1a4091e2a13c4e8 Mon Sep 17 00:00:00 2001 From: ada-dmitry Date: Tue, 22 Aug 2023 16:17:23 +0300 Subject: [PATCH] upd --- db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db.py b/db.py index 5651983..f1610d6 100644 --- a/db.py +++ b/db.py @@ -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):