This commit is contained in:
spla 2023-01-05 11:56:46 +01:00
pare 06f43d244d
commit 9ce0834749

Veure arxiu

@ -779,13 +779,13 @@ class Database():
conn.close()
def fediquery_server_data(search_server):
def fediquery_server_data(self, search_server):
try:
conn = None
conn = psycopg2.connect(database = fediverse_db, user = fediverse_db_user, password = "Wer42B2Ir0b0t1c5", host = "/var/run/postgresql", port = "6432")
conn = psycopg2.connect(database = self.fediverse_db, user = self.fediverse_db_user, password = self.fediverse_db_user_password, host = "/var/run/postgresql", port = "6432")
cur = conn.cursor()