modifié: superTornado.py
This commit is contained in:
parent
ae0c2175b2
commit
075170d7be
@ -176,10 +176,10 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
urlCamera = 'http://test:a@'+ipCamera+':'+portCamera+'/image.jpg?cidx=791836195'
|
urlCamera = 'http://test:a@'+ipCamera+':'+portCamera+'/image.jpg?cidx=791836195'
|
||||||
try :
|
try :
|
||||||
f = urlopen(urlCamera)
|
f = urlopen(urlCamera)
|
||||||
log.printL( "->Camera OK ", lvl.SUCCESS)
|
log.printL( "->Camera OK ", lvl.SUCCESS)
|
||||||
except Exception, e :
|
except Exception, e :
|
||||||
log.printL("->Camera Unreachable! Check Camera Configuration!",lvl.ERROR)
|
log.printL("->Camera Unreachable! Check Camera Configuration!",lvl.ERROR)
|
||||||
|
|
||||||
|
|
||||||
try :
|
try :
|
||||||
|
Reference in New Issue
Block a user