From 29ef2053a13290eaf705010051d4d25474045f4b Mon Sep 17 00:00:00 2001 From: Tom LAVEILLE Date: Fri, 2 Aug 2024 10:40:49 +0200 Subject: [PATCH] =?UTF-8?q?T=C3=A9l=C3=A9verser=20les=20fichiers=20vers=20?= =?UTF-8?q?"CenRa=5FFLUX/tools"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CenRa_FLUX/tools/resources.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CenRa_FLUX/tools/resources.py b/CenRa_FLUX/tools/resources.py index 0648fed..c35f9ef 100644 --- a/CenRa_FLUX/tools/resources.py +++ b/CenRa_FLUX/tools/resources.py @@ -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()