From 5e64696031c78dcf9ff5eff0ed19a03cde913bce Mon Sep 17 00:00:00 2001 From: pictuga Date: Thu, 22 May 2014 22:53:36 +0200 Subject: [PATCH] Fix '/morss.py/' url fixer --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index 471d948..e77ca5d 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -649,7 +649,7 @@ def cgi_app(environ, start_response): else: url = environ['PATH_INFO'][1:] - re.sub(r'^/?morss.py/', '', url) + url = re.sub(r'^/?morss.py/', '', url) if url.startswith(':'): options = url.split('/')[0].split(':')[1:]