summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-09-27 17:34:50 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-09-27 17:34:50 +0200
commitbc18f1c2419002208d1a9c19c45cb988e516348e (patch)
treeadfe4746147e1fa406653d2d66c7020fdea4c11d
parent175da2e5c8762d8dc16e5f324e793686a9e46ed8 (diff)
downloadsites-bc18f1c2419002208d1a9c19c45cb988e516348e.tar.gz
sites-bc18f1c2419002208d1a9c19c45cb988e516348e.tar.bz2
sites-bc18f1c2419002208d1a9c19c45cb988e516348e.zip
fix url regex
-rwxr-xr-xindex.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/index.py b/index.py
index e72914a..27a5cf3 100755
--- a/index.py
+++ b/index.py
@@ -4,11 +4,11 @@ from web import template, form, application, ctx
from socket import gethostbyaddr
urls = (
- '/', 'index',
- '/neu.*', 'new',
- '/new.*', 'new',
- '/help/spam.*', 'spam',
- '/help/unsubscribe\.([a-z]+).*', 'unsubscribe',
+ r'/', 'index',
+ r'/neu.*', 'new',
+ r'/new.*', 'new',
+ r'/help/spam.*', 'spam',
+ r'/help/unsubscribe\.([a-z]+).*', 'unsubscribe',
)
render = template.render('templates/', base='layout');