summaryrefslogtreecommitdiffstats
path: root/module/file_list.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-25 16:32:17 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-02-25 16:32:17 +0100
commit83a4073616f9821a8ebf1df0e18e332490503eca (patch)
tree5c045ed9923dbc05277b36686544958a2afbead8 /module/file_list.py
parentgui fix, better click and load support (diff)
downloadpyload-83a4073616f9821a8ebf1df0e18e332490503eca.tar.xz
webinterface improvments + server crash fix
Diffstat (limited to 'module/file_list.py')
-rw-r--r--module/file_list.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/module/file_list.py b/module/file_list.py
index 2cdda99c4..01a5924b3 100644
--- a/module/file_list.py
+++ b/module/file_list.py
@@ -126,10 +126,7 @@ class File_List(object):
def getAllFiles(self):
- files = []
- for pypack in self.data["queue"] + self.data["packages"]:
- files += pypack.files
- return files
+ return map(attrgetter("files"), self.data["queue"] + self.data["packages"])
def countDownloads(self):
""" simply return len of all files in all packages(which have no type) in queue and collector"""