modifié: superTornado.py

This commit is contained in:
sidya82 2014-03-03 20:54:59 +01:00
parent ae0c2175b2
commit 075170d7be

View File

@ -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 :