modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-11 16:59:15 +01:00
parent 2c3ff3743b
commit bb4fa0cdb0

View File

@ -194,6 +194,7 @@ if __name__ == "__main__":
log.printL("->Ping camera ...",lvl.INFO) log.printL("->Ping camera ...",lvl.INFO)
try : try :
socket.setdefaulttimeout(30)
f = urlopen(urlCamera) f = urlopen(urlCamera)
log.printL( "->Camera OK ", lvl.SUCCESS) log.printL( "->Camera OK ", lvl.SUCCESS)
except Exception, e : except Exception, e :