summaryrefslogtreecommitdiffstats
path: root/pyload/manager/Thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/manager/Thread.py')
-rw-r--r--pyload/manager/Thread.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/manager/Thread.py b/pyload/manager/Thread.py
index 2ace9c789..6c9304e87 100644
--- a/pyload/manager/Thread.py
+++ b/pyload/manager/Thread.py
@@ -266,7 +266,7 @@ class ThreadManager(object):
job.release()
return
- if job.plugin.__type__ == "hoster":
+ if job.plugin.__type == "hoster":
spaceLeft = freeSpace(self.core.config["general"]["download_folder"]) / 1024 / 1024
if spaceLeft < self.core.config["general"]["min_free_space"]:
self.core.log.warning(_("Not enough space left on device"))