modifié: m/loadConf.py

This commit is contained in:
sidya82 2014-03-03 00:56:14 +01:00
parent fa29e8ce05
commit 1059204e16
1 changed files with 0 additions and 3 deletions

View File

@ -3,12 +3,9 @@ class LoadConf(object):
with open("m/fichier/conf", "r") as source :
for ligne in source:
data = ligne.rstrip('\n\r').split('=')
try :
if data[0] == key :
source.close()
return data[1]
except Exception, e :
pass
source.close()
return "error"