modifié: m/loadConf.py
This commit is contained in:
parent
76ef0554a9
commit
fa29e8ce05
@ -4,7 +4,7 @@ class LoadConf(object):
|
|||||||
for ligne in source:
|
for ligne in source:
|
||||||
data = ligne.rstrip('\n\r').split('=')
|
data = ligne.rstrip('\n\r').split('=')
|
||||||
try :
|
try :
|
||||||
if data[0] in key :
|
if data[0] == key :
|
||||||
source.close()
|
source.close()
|
||||||
return data[1]
|
return data[1]
|
||||||
except Exception, e :
|
except Exception, e :
|
||||||
|
Reference in New Issue
Block a user