Fix typo
This commit is contained in:
pare
06f43d244d
commit
9ce0834749
S'han modificat 1 arxius amb 2 adicions i 2 eliminacions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Referencia en una nova incidència