From df95882117f287ef77abb1cb115e71576c1c2dab Mon Sep 17 00:00:00 2001 From: mkaay Date: Thu, 12 Aug 2010 14:22:29 +0200 Subject: unrar hook :D, account fix, other fixes --- pyLoadCore.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pyLoadCore.py') diff --git a/pyLoadCore.py b/pyLoadCore.py index 94ffd90a4..8dc725ca7 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -62,6 +62,7 @@ from module.RequestFactory import RequestFactory from module.ThreadManager import ThreadManager import module.remote.SecureXMLRPCServer as Server from module.web.ServerThread import WebServer +from module.FileDatabase import PyFile class Core(object): """ pyLoad Core """ @@ -397,6 +398,8 @@ class ServerMethods(): """ gives status about all files currently processed """ downloads = [] for pyfile in [x.active for x in self.core.threadManager.threads + self.core.threadManager.localThreads if x.active]: + if not isinstance(pyfile, PyFile): + continue download = {} download['id'] = pyfile.id download['name'] = pyfile.name -- cgit v1.2.3