diff --git a/m/loadConf.py b/m/loadConf.py index 01af063..ba6aaa5 100644 --- a/m/loadConf.py +++ b/m/loadConf.py @@ -5,7 +5,7 @@ class LoadConf(object): data = ligne.rstrip('\n\r').split('=') if data[0] in key : source.close() - return str(data[1]) + return data[1] source.close() return "error" @@ -19,7 +19,7 @@ class LoadConf(object): return rep def ipCamera(self) : - return str(self.loadValue("camera")) + return loadValue("camera") def portServ(self) : - return str(self.loadValue("port")) + return loadValue("port")