diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-17 01:21:41 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-04-17 01:21:41 +0200 |
commit | 20226f8cc5889efbefa61209e1adf6184d42cd00 (patch) | |
tree | 8f01af2c23465432f83481b656ed8c2743cb872a /pyload/webui/middlewares.py | |
parent | Spare code cosmetics (2) (diff) | |
download | pyload-20226f8cc5889efbefa61209e1adf6184d42cd00.tar.xz |
Spare code cosmetics (3)
Diffstat (limited to 'pyload/webui/middlewares.py')
-rw-r--r-- | pyload/webui/middlewares.py | 2 |
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) |