From 3c87c399a737ca482fcec75517edf1b339b76aa6 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 3 Mar 2014 00:57:20 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20m/lo?= =?UTF-8?q?adConf.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- m/loadConf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/m/loadConf.py b/m/loadConf.py index effa2e5..f666e77 100644 --- a/m/loadConf.py +++ b/m/loadConf.py @@ -3,9 +3,9 @@ class LoadConf(object): with open("m/fichier/conf", "r") as source : for ligne in source: data = ligne.rstrip('\n\r').split('=') - if data[0] == key : - source.close() - return data[1] + if data[0] == key : + source.close() + return data[1] source.close() return "error"