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
|
||||
|
||||
portServ=80
|
||||
|
@ -168,14 +168,13 @@ if __name__ == "__main__":
|
||||
print " ->Blind unhabitant"
|
||||
else :
|
||||
print " ->Not blind unhabitant"
|
||||
print " ->Ip camera : " + ipCamera
|
||||
print " ->Port Server : " + portServ
|
||||
|
||||
tornado.options.parse_command_line()
|
||||
|
||||
try :
|
||||
print("->Server Start ...")
|
||||
http_server = tornado.httpserver.HTTPServer(application)
|
||||
http_server.listen(port)
|
||||
http_server.listen(80)
|
||||
print "->Server Start Successfully !"
|
||||
tornado.ioloop.IOLoop.instance().start()
|
||||
except Exception, e :
|
||||
|
Reference in New Issue
Block a user