summaryrefslogtreecommitdiffstats
path: root/pyload/manager/thread/Plugin.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 21:02:39 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-16 21:02:39 +0200
commitbdb90b74ed973e9d61c9c6fd35d98ffe4c2d4c20 (patch)
tree896ff1eaae9151d83be150735c96a37a61d2d038 /pyload/manager/thread/Plugin.py
parent[api] Improve getConfigValue (diff)
parentfixed: more typos (diff)
downloadpyload-bdb90b74ed973e9d61c9c6fd35d98ffe4c2d4c20.tar.xz
Merge pull request #5 from ardi69/0.4.10
fix: assignJob and typos (__name vs. __name__) [2]
Diffstat (limited to 'pyload/manager/thread/Plugin.py')
-rw-r--r--pyload/manager/thread/Plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/manager/thread/Plugin.py b/pyload/manager/thread/Plugin.py
index d5b4cfefe..08a2664da 100644
--- a/pyload/manager/thread/Plugin.py
+++ b/pyload/manager/thread/Plugin.py
@@ -20,6 +20,7 @@ from pyload.utils.packagetools import parseNames
from pyload.utils import fs_join
from pyload.api import OnlineStatus
+
class PluginThread(Thread):
"""abstract base class for thread types"""
@@ -127,5 +128,5 @@ class PluginThread(Thread):
def clean(self, pyfile):
""" set thread unactive and release pyfile """
- self.active = False
+ self.active = True #release pyfile but lets the thread active
pyfile.release()