summaryrefslogtreecommitdiffstats
path: root/pyload/threads/BaseThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/threads/BaseThread.py')
-rw-r--r--pyload/threads/BaseThread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/threads/BaseThread.py b/pyload/threads/BaseThread.py
index 3655480dd..9b4e5af67 100644
--- a/pyload/threads/BaseThread.py
+++ b/pyload/threads/BaseThread.py
@@ -16,7 +16,7 @@ from pyload.setup.system import get_system_info
class BaseThread(Thread):
"""abstract base class for thread types"""
- def __init__(self, manager, ower=None):
+ def __init__(self, manager, owner=None):
Thread.__init__(self)
self.setDaemon(True)
self.m = manager #thread manager
@@ -24,7 +24,7 @@ class BaseThread(Thread):
self.log = manager.core.log
#: Owner of the thread, every type should set it or overwrite user
- self.owner = None
+ self.owner = owner
@property
def user(self):