summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-08-12 14:22:29 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2010-08-12 14:22:29 +0200
commitdf95882117f287ef77abb1cb115e71576c1c2dab (patch)
tree1f4c14c8f372a536047692ee977be9b26514e212 /pyLoadCore.py
parentaccount fixes (diff)
downloadpyload-df95882117f287ef77abb1cb115e71576c1c2dab.tar.xz
unrar hook :D, account fix, other fixes
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py3
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