aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/__init__.py')
-rw-r--r--libpathod/__init__.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/libpathod/__init__.py b/libpathod/__init__.py
index ff1b88f8..8b137891 100644
--- a/libpathod/__init__.py
+++ b/libpathod/__init__.py
@@ -1,21 +1 @@
-from tornado import web, template
-import handlers, utils
-class PathodApp(web.Application):
- def __init__(self, *args, **kwargs):
- self.templates = template.Loader(utils.data.path("templates"))
- web.Application.__init__(self, *args, **kwargs)
-
-
-def application(**settings):
- return PathodApp(
- [
- (r"/", handlers.Index),
- (r"/log", handlers.Log),
- (r"/help", handlers.Help),
- (r"/preview", handlers.Preview),
- (r"/p/.*", handlers.Pathod, settings),
- ],
- static_path = utils.data.path("static"),
- template_path = utils.data.path("templates"),
- )