modifié: m/fichier/conf
modifié: superTornado.py
This commit is contained in:
parent
e20fd564ef
commit
a89b3ad53d
@ -1,4 +1,4 @@
|
|||||||
blind=1
|
|
||||||
camera=192.168.1.13
|
camera=192.168.1.13
|
||||||
|
|
||||||
portServ=80
|
portServ=80
|
||||||
|
@ -168,14 +168,13 @@ if __name__ == "__main__":
|
|||||||
print " ->Blind unhabitant"
|
print " ->Blind unhabitant"
|
||||||
else :
|
else :
|
||||||
print " ->Not blind unhabitant"
|
print " ->Not blind unhabitant"
|
||||||
print " ->Ip camera : " + ipCamera
|
|
||||||
print " ->Port Server : " + portServ
|
|
||||||
tornado.options.parse_command_line()
|
tornado.options.parse_command_line()
|
||||||
|
|
||||||
try :
|
try :
|
||||||
print("->Server Start ...")
|
print("->Server Start ...")
|
||||||
http_server = tornado.httpserver.HTTPServer(application)
|
http_server = tornado.httpserver.HTTPServer(application)
|
||||||
http_server.listen(port)
|
http_server.listen(80)
|
||||||
print "->Server Start Successfully !"
|
print "->Server Start Successfully !"
|
||||||
tornado.ioloop.IOLoop.instance().start()
|
tornado.ioloop.IOLoop.instance().start()
|
||||||
except Exception, e :
|
except Exception, e :
|
||||||
|
Reference in New Issue
Block a user