From 10da01b1fe283e6d929b1fe9a48035464389e186 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Mon, 3 Mar 2014 00:21:54 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20m/fi?= =?UTF-8?q?chier/conf=20=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20superTo?= =?UTF-8?q?rnado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- m/fichier/conf | 4 ++-- superTornado.py | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/m/fichier/conf b/m/fichier/conf index 9b3fd78..602e7c6 100644 --- a/m/fichier/conf +++ b/m/fichier/conf @@ -1,5 +1,5 @@ - +blind=1 camera=192.168.1.13 - +portCamera=80 portServ=80 diff --git a/superTornado.py b/superTornado.py index 25c8b65..b5883a3 100644 --- a/superTornado.py +++ b/superTornado.py @@ -168,9 +168,8 @@ if __name__ == "__main__": raise PortCamERROR("c") if portServ == "error" : raise PortServERROR("e") - except Exception as e : + except PortServERROR as e : print bcolors.FAIL - print e print "Configuration Loading Failed ! Check Configuration File !" + bcolors.ENDC sys.exit(1) print "->Configuration Server Load Successfully :"