diff options
Diffstat (limited to 'module/plugins/internal/Addon.py')
-rw-r--r-- | module/plugins/internal/Addon.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/module/plugins/internal/Addon.py b/module/plugins/internal/Addon.py index bdde514c0..12a4aed95 100644 --- a/module/plugins/internal/Addon.py +++ b/module/plugins/internal/Addon.py @@ -21,9 +21,10 @@ def threaded(fn): class Addon(Plugin): - __name__ = "Addon" + __name = "Addon" + __type = "addon" __type__ = "hook" #@TODO: Change to `addon` in 0.4.10 - __version__ = "0.12" + __version__ = "0.13" __status__ = "testing" __threaded__ = [] #@TODO: Remove in 0.4.10 @@ -59,12 +60,6 @@ class Addon(Plugin): self.init_events() - #@TODO: Remove in 0.4.10 - def _log(self, level, plugintype, pluginname, messages): - plugintype = "addon" if plugintype is "hook" else plugintype - return super(Addon, self)._log(level, plugintype, pluginname, messages) - - def init_events(self): if self.event_map: for event, funcs in self.event_map.items(): |