diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-02-25 16:32:17 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-02-25 16:32:17 +0100 |
commit | 83a4073616f9821a8ebf1df0e18e332490503eca (patch) | |
tree | 5c045ed9923dbc05277b36686544958a2afbead8 /module/file_list.py | |
parent | gui fix, better click and load support (diff) | |
download | pyload-83a4073616f9821a8ebf1df0e18e332490503eca.tar.xz |
webinterface improvments + server crash fix
Diffstat (limited to 'module/file_list.py')
-rw-r--r-- | module/file_list.py | 5 |
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""" |