summaryrefslogtreecommitdiffstats
path: root/pyload/manager/Thread.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 03:40:45 +0100
commitfcead1870013b6a970eca7878a66dbe783c80ea3 (patch)
tree9837d3b2cacba2f5d1a4c620b1cd02f26571b454 /pyload/manager/Thread.py
parentInit cosmetics (diff)
downloadpyload-fcead1870013b6a970eca7878a66dbe783c80ea3.tar.xz
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 6c9304e87..2ace9c789 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"))