From bb4fa0cdb019af0efbf4c6c00329e08ac8c0c3a1 Mon Sep 17 00:00:00 2001 From: sidya82 Date: Tue, 11 Mar 2014 16:59:15 +0100 Subject: [PATCH] =?UTF-8?q?=09modifi=C3=A9:=20=20=20=20=20=20=20=20=20supe?= =?UTF-8?q?rTornado.py?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- superTornado.py | 1 + 1 file changed, 1 insertion(+) diff --git a/superTornado.py b/superTornado.py index 45dafc1..08122f4 100644 --- a/superTornado.py +++ b/superTornado.py @@ -194,6 +194,7 @@ if __name__ == "__main__": log.printL("->Ping camera ...",lvl.INFO) try : + socket.setdefaulttimeout(30) f = urlopen(urlCamera) log.printL( "->Camera OK ", lvl.SUCCESS) except Exception, e :