modifié: superTornado.py
This commit is contained in:
parent
af23a6e85a
commit
9fc451a2b5
@ -179,8 +179,9 @@ if __name__ == "__main__":
|
|||||||
log.printL(" +Port Server : " + portServ,lvl.INFO)
|
log.printL(" +Port Server : " + portServ,lvl.INFO)
|
||||||
print ""
|
print ""
|
||||||
|
|
||||||
urlSocket = 'ws://'+ipServ':'+portCamera+'/socket'
|
urlSocket = 'ws://'+ipServ+':'+portCamera+'/socket'
|
||||||
urlCamera = 'http://test:a@'+ipCamera+':'+portCamera+'/image.jpg?cidx=791836195'
|
urlCamera = 'http://test:a@'+ipCamera+':'+portCamera+'/image.jpg?cidx=791836195'
|
||||||
|
|
||||||
log.printL("->Ping camera ...",lvl.INFO)
|
log.printL("->Ping camera ...",lvl.INFO)
|
||||||
try :
|
try :
|
||||||
f = urlopen(urlCamera)
|
f = urlopen(urlCamera)
|
||||||
|
Reference in New Issue
Block a user