summaryrefslogtreecommitdiffstats
path: root/pyload/webui/middlewares.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
commit20226f8cc5889efbefa61209e1adf6184d42cd00 (patch)
tree8f01af2c23465432f83481b656ed8c2743cb872a /pyload/webui/middlewares.py
parentSpare code cosmetics (2) (diff)
downloadpyload-20226f8cc5889efbefa61209e1adf6184d42cd00.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'pyload/webui/middlewares.py')
-rw-r--r--pyload/webui/middlewares.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/middlewares.py b/pyload/webui/middlewares.py
index f6a2d8a32..c3f4952db 100644
--- a/pyload/webui/middlewares.py
+++ b/pyload/webui/middlewares.py
@@ -27,7 +27,7 @@ class PrefixMiddleware(object):
def __call__(self, e, h):
- path = e["PATH_INFO"]
+ path = e['PATH_INFO']
if path.startswith(self.prefix):
e['PATH_INFO'] = path.replace(self.prefix, "", 1)
return self.app(e, h)