modifié: m/fichier/conf

modifié:         superTornado.py
This commit is contained in:
sidya82 2014-03-03 00:09:50 +01:00
parent e20fd564ef
commit a89b3ad53d
2 changed files with 3 additions and 4 deletions

View File

@ -1,4 +1,4 @@
blind=1
camera=192.168.1.13 camera=192.168.1.13
portServ=80 portServ=80

View File

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