summaryrefslogtreecommitdiffstats
path: root/pyload/webui/app/utils.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-01 23:53:07 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-01 23:53:07 +0100
commit004a80bfaad38f9400e8aebcb8f980353a232295 (patch)
tree1e786d2d14a3040767aac237982544b74a9567cb /pyload/webui/app/utils.py
parentFix previous merge (diff)
downloadpyload-004a80bfaad38f9400e8aebcb8f980353a232295.tar.xz
PEP-8, Python Zen, refactor and reduce code (thx FedeG)
Diffstat (limited to 'pyload/webui/app/utils.py')
-rw-r--r--pyload/webui/app/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/webui/app/utils.py b/pyload/webui/app/utils.py
index d5fa66a35..ff0faddd0 100644
--- a/pyload/webui/app/utils.py
+++ b/pyload/webui/app/utils.py
@@ -32,7 +32,7 @@ def render_to_response(file, args={}, proc=[]):
def parse_permissions(session):
- perms = dict([(x, False) for x in dir(PERMS) if not x.startswith("_")])
+ perms = dict((x, False) for x in dir(PERMS) if not x.startswith("_"))
perms["ADMIN"] = False
perms["is_admin"] = False