From b23de92f6c076506217f12537b77c39ad9687b92 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Sun, 2 Mar 2014 23:12:11 +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 f8827fe..01af063 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 data[1] + return str(data[1]) source.close() return "error" @@ -19,7 +19,7 @@ class LoadConf(object): return rep def ipCamera(self) : - return self.loadValue("camera") + return str(self.loadValue("camera")) def portServ(self) : - return self.loadValue("port") + return str(self.loadValue("port"))