From 79ce6f862285f355455119d64d8aa1753cff0470 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 21 Sep 2011 16:43:22 +0200 Subject: royflos GUI patches, prefix option for webinterface ( --- module/web/middlewares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/web/middlewares.py') diff --git a/module/web/middlewares.py b/module/web/middlewares.py index a4b962988..e0e6c3102 100644 --- a/module/web/middlewares.py +++ b/module/web/middlewares.py @@ -25,7 +25,7 @@ class PrefixMiddleware(object): def __call__(self, e, h): path = e["PATH_INFO"] if path.startswith(self.prefix): - e['PATH_INFO'] = path.relace(self.prefix, "", 1) + e['PATH_INFO'] = path.replace(self.prefix, "", 1) return self.app(e, h) # (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org) -- cgit v1.2.3