summaryrefslogtreecommitdiffstats
path: root/pyload
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-08 21:39:17 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-08 21:39:17 +0100
commitc420269a95f3cdebfb86530d1f0c580b1f9ff6bd (patch)
tree14df2cc245a844c699708607610cb4a76dd49de9 /pyload
parentworkaround for older plugins (diff)
downloadpyload-c420269a95f3cdebfb86530d1f0c580b1f9ff6bd.tar.xz
renamed new self.user to self.owner
Diffstat (limited to 'pyload')
-rw-r--r--pyload/plugins/Base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/plugins/Base.py b/pyload/plugins/Base.py
index 4d77fe4b2..9dcb99453 100644
--- a/pyload/plugins/Base.py
+++ b/pyload/plugins/Base.py
@@ -92,7 +92,7 @@ class Base(object):
self.im = core.interactionManager
if owner is not None:
#: :class:`Api`, user api when user is set
- self.api = self.core.api.withUserContext(user)
+ self.api = self.core.api.withUserContext(owner)
if not self.api:
raise Exception("Plugin running with invalid user")