diff options
author | mkaay <mkaay@mkaay.de> | 2010-08-12 14:22:29 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-08-12 14:22:29 +0200 |
commit | df95882117f287ef77abb1cb115e71576c1c2dab (patch) | |
tree | 1f4c14c8f372a536047692ee977be9b26514e212 /pyLoadCore.py | |
parent | account fixes (diff) | |
download | pyload-df95882117f287ef77abb1cb115e71576c1c2dab.tar.xz |
unrar hook :D, account fix, other fixes
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 3 |
1 files changed, 3 insertions, 0 deletions
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 |