diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-23 15:51:19 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-01-23 15:51:19 +0100 |
commit | 9aa8ca3b24133bef767f0eb8508e276fa7f92ee9 (patch) | |
tree | ecaeeafaa00e71f10d5df5ba9fc54a721e7d5e35 /module/web/pyload | |
parent | file_list save fix (diff) | |
download | pyload-9aa8ca3b24133bef767f0eb8508e276fa7f92ee9.tar.xz |
added missing icons, final improvments
Diffstat (limited to 'module/web/pyload')
-rw-r--r-- | module/web/pyload/views.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/module/web/pyload/views.py b/module/web/pyload/views.py index d72dca56c..ea9d5f1be 100644 --- a/module/web/pyload/views.py +++ b/module/web/pyload/views.py @@ -75,10 +75,7 @@ def home(request): def queue(request): queue = settings.PYLOAD.get_queue() for pack in queue: - children = [] - for child in settings.PYLOAD.get_package_files(pack["id"]): - children.append(settings.PYLOAD.get_file_info(child)) - pack["children"] = children + pack["children"] = map(settings.PYLOAD.get_file_info, settings.PYLOAD.get_package_files(pack["id"])) return render_to_response(join(settings.TEMPLATE, 'queue.html'), RequestContext(request, {'content': queue}, [status_proc])) |