summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/Addon.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 07:44:07 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-08-02 07:44:07 +0200
commit84f2193d76f7c6f47c834dc8902d8ead8e45a11a (patch)
treeabcb748a676991f5987a8cd78a0814889d175656 /module/plugins/internal/Addon.py
parent[AntiStandby] Improve linux_standby (diff)
downloadpyload-84f2193d76f7c6f47c834dc8902d8ead8e45a11a.tar.xz
Fix https://github.com/pyload/pyload/issues/1640 (2)
Diffstat (limited to 'module/plugins/internal/Addon.py')
-rw-r--r--module/plugins/internal/Addon.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/internal/Addon.py b/module/plugins/internal/Addon.py
index 649eccbc1..a2d51aa50 100644
--- a/module/plugins/internal/Addon.py
+++ b/module/plugins/internal/Addon.py
@@ -25,7 +25,7 @@ def threaded(fn):
class Addon(Plugin):
__name__ = "Addon"
__type__ = "hook" #@TODO: Change to `addon` in 0.4.10
- __version__ = "0.03"
+ __version__ = "0.04"
__status__ = "testing"
__config__ = [] #: [("name", "type", "desc", "default")]
@@ -37,8 +37,7 @@ class Addon(Plugin):
def __init__(self, core, manager):
- self.pyload = core
- self.info = {} #: Provide information in dict here
+ self._init(core)
#: `HookManager`
self.manager = manager