diff --git a/superTornado.py b/superTornado.py index bf62df0..af0d204 100644 --- a/superTornado.py +++ b/superTornado.py @@ -11,12 +11,12 @@ from login import * confAveug = False ficLog = Login() -session= TornadoSessionManager() + settings = {} settings["session_secret"] = 'some secret password!!' settings["session_dir"] = 'sessions' # the directory to store sessions in session= Session() -application.session_manager = session.TornadoSessionManager(settings["session_secret"], settings["session_dir"]) +application.session_manager = TornadoSessionManager(settings["session_secret"], settings["session_dir"]) class MainHandler(tornado.web.RequestHandler): def __init__ (self) :