diff --git a/superTornado.py b/superTornado.py index e34857e..9ce6b1b 100644 --- a/superTornado.py +++ b/superTornado.py @@ -17,7 +17,7 @@ from m.login import * import os -confAveug = False +confAveug = LoadConf().estAveugle() ficLog = Login() class BaseHandler(tornado.web.RequestHandler): @@ -142,8 +142,6 @@ application = tornado.web.Application([ cookie_secret="1213215656") if __name__ == "__main__": - hand = LoadConf() - confAveug = hand.estAveugle() if confAveug == True: print "->Blind unhabitant system configuration" else : diff --git a/v/video.html b/v/video.html index dad40a7..f39cdc2 100644 --- a/v/video.html +++ b/v/video.html @@ -30,7 +30,7 @@ }; function refresh() { console.log("Data send"); - ws.send("lol"); + ws.send("next"); }