diff options
-rw-r--r-- | pyload/plugins/Base.py | 2 |
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") |