diff options
Diffstat (limited to 'module/web/middlewares.py')
-rw-r--r-- | module/web/middlewares.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |