From bc18f1c2419002208d1a9c19c45cb988e516348e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 27 Sep 2011 17:34:50 +0200 Subject: fix url regex --- index.py | 10 +++++----- 1 file 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'); -- cgit v1.2.3-1-g7c22