modifié: superTornado.py

This commit is contained in:
sidya82 2014-02-28 07:01:12 +01:00
parent 124c908ae5
commit be49ff44ca

View File

@ -110,7 +110,7 @@ class TestSocket(tornado.websocket.WebSocketHandler):
def open(self) : def open(self) :
print "->Websocket opened" print "->Websocket opened"
print '->lol' print '->lol'
while 1 : #while 1 :
try : try :
f = urlopen('http://test:a@192.168.1.15/image.jpg?cidx=791836195') f = urlopen('http://test:a@192.168.1.15/image.jpg?cidx=791836195')
data = f.read() data = f.read()