diff options
author | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-11 18:25:24 +0200 |
---|---|---|
committer | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-11 18:25:24 +0200 |
commit | db774cfe565e40a7ce4def89c130f69540493bf1 (patch) | |
tree | 75f6a21b3462038976e74d9cec7aa21527b8b194 /packages/torouter-web/runui.py | |
parent | 423d7556b1af6159bc3a1d6219bcd0ec704dce7f (diff) | |
download | torouter-db774cfe565e40a7ce4def89c130f69540493bf1.tar.gz torouter-db774cfe565e40a7ce4def89c130f69540493bf1.zip |
Add some comments
Diffstat (limited to 'packages/torouter-web/runui.py')
-rw-r--r-- | packages/torouter-web/runui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/torouter-web/runui.py b/packages/torouter-web/runui.py index 9b33d7a..030bf91 100644 --- a/packages/torouter-web/runui.py +++ b/packages/torouter-web/runui.py @@ -10,6 +10,7 @@ from tui.utils import session from view import render +# This is the main structure of URLs urls = ( '/', 'tui.controllers.main.index', # '/config/(tor|router)', 'tui.controllers.main.config', @@ -26,6 +27,7 @@ urls = ( if __name__ == "__main__": app = web.application(urls, globals()) + # Add session management to the app session.add_session_to_app(app) app.internalerror = web.debugerror app.run() |