modifié: superTornado.py
This commit is contained in:
parent
2c3ff3743b
commit
bb4fa0cdb0
@ -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 :
|
||||||
|
Reference in New Issue
Block a user