summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-11-26 01:01:10 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-11-26 01:01:10 +0100
commit54e99bd780bc46ef38a6840eb0ea5a0a8a73e1c9 (patch)
tree5fa62f6f7e0dd346508b054bcf6c6c436262640e /index.py
parenta2b3decb95fb397ac3389ac768280d81afe28238 (diff)
downloadweb-54e99bd780bc46ef38a6840eb0ea5a0a8a73e1c9.tar.gz
web-54e99bd780bc46ef38a6840eb0ea5a0a8a73e1c9.tar.bz2
web-54e99bd780bc46ef38a6840eb0ea5a0a8a73e1c9.zip
Use memory caching
Diffstat (limited to 'index.py')
-rwxr-xr-xindex.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.py b/index.py
index a6775f3..c2b2a36 100755
--- a/index.py
+++ b/index.py
@@ -43,7 +43,9 @@ class Renderer:
return os.path.join("pages", tpl)
-urls = ("/(.*)", "Handler")
+urls = (
+ "/(.*)", "Handler"
+ )
app = web.application(urls, globals())
render = Renderer()