summaryrefslogtreecommitdiffstats
path: root/pyload/manager/Thread.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 22:38:45 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-16 22:38:45 +0100
commit270c1ee85edcd1e9e10511833b422d93dfca192a (patch)
treeeb846081ba3ec09721879ee237016b26d19c3c2f /pyload/manager/Thread.py
parentFix plugins to work on 0.4.10 (diff)
downloadpyload-270c1ee85edcd1e9e10511833b422d93dfca192a.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 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"))