diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-09-27 16:24:03 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-09-27 16:24:03 +0200 |
commit | 5f8a4d25ea9034cadc8ae19a2ffab788f62cc56c (patch) | |
tree | 9d947797aafb3e9d97dbf10313c5f48f6f3d6198 /module/web/webinterface.py | |
parent | Merge (diff) | |
download | pyload-5f8a4d25ea9034cadc8ae19a2ffab788f62cc56c.tar.xz |
reworked authorization, now works on api level
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r-- | module/web/webinterface.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py index f6ad35138..8f814715f 100644 --- a/module/web/webinterface.py +++ b/module/web/webinterface.py @@ -89,6 +89,7 @@ env.filters["path_make_absolute"] = path_make_absolute env.filters["decode"] = decode env.filters["type"] = lambda x: str(type(x)) env.filters["formatsize"] = formatSize +env.filters["getitem"] = lambda x,y: x.__getitem__(y) if PREFIX: env.filters["url"] = lambda x: x else: |