Téléverser les fichiers vers "CenRa_FLUX/tools"

This commit is contained in:
Tom LAVEILLE 2024-08-02 10:40:49 +02:00
parent 6f57119c09
commit 29ef2053a1

View File

@ -116,8 +116,7 @@ def login_base(take=None):
mdp = base64.b64decode(str(res_ident[0])).decode('utf-8')
user = res_ident[1]
#con = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=" + user + " password=" + mdp)
con = psycopg2.connect("host=" + '100.100.100.81' + " port=" + port + " dbname="+'postgres'+" user=" + 'tlaveille' + " password=" + 'tlaveille')
con = psycopg2.connect("host=" + host + " port=" + port + " dbname="+dbname+" user=" + user + " password=" + mdp)
cur = con.cursor(cursor_factory = psycopg2.extras.DictCursor)
first_conn.close()