diff options
author | mkaay <mkaay@mkaay.de> | 2010-01-06 22:11:24 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-01-06 22:11:24 +0100 |
commit | d2aa3fceb9f896343b128d40f20a0465cf69efca (patch) | |
tree | a04d975938f19582b2afa2278107bd07e4c86ad4 /module/file_list.py | |
parent | cli fix, webinterface db check (diff) | |
download | pyload-d2aa3fceb9f896343b128d40f20a0465cf69efca.tar.xz |
small fixes, new hook stuff
Diffstat (limited to 'module/file_list.py')
-rw-r--r-- | module/file_list.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/module/file_list.py b/module/file_list.py index e7b80f26d..ef47df6d9 100644 --- a/module/file_list.py +++ b/module/file_list.py @@ -143,6 +143,13 @@ class File_List(object): files.append(pyfile) return files + def getAllFiles(self): + files = [] + for pypack in self.data["queue"] + self.data["packages"]: + for pyfile in pypack.files: + files.append(pyfile) + return files + def countDownloads(self): return len(self.getDownloadList()) |