diff options
Diffstat (limited to 'pyload/datatypes')
-rw-r--r-- | pyload/datatypes/PyPackage.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/datatypes/PyPackage.py b/pyload/datatypes/PyPackage.py index ba38781eb..fa58c0fd2 100644 --- a/pyload/datatypes/PyPackage.py +++ b/pyload/datatypes/PyPackage.py @@ -66,9 +66,9 @@ class PyPackage: self.comment, self.password, self.added, self.tags, self.status, self.shared, self.packageorder ) - def getChildren(self): - """get fids of container files""" - return self.m.getPackageInfo(self.pid).fids + def getFiles(self): + """get contaied files data""" + return self.m.core.db.getAllFiles(package=self.pid) def getPath(self, name=""): self.timestamp = time() |