From 270c1ee85edcd1e9e10511833b422d93dfca192a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 22:38:45 +0100 Subject: Revert fcead1870013b6a970eca7878a66dbe783c80ea3 --- pyload/manager/Thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pyload/manager/Thread.py') 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")) -- cgit v1.2.3