diff options
Diffstat (limited to 'pyload/plugins/Addon.py')
-rw-r--r-- | pyload/plugins/Addon.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/pyload/plugins/Addon.py b/pyload/plugins/Addon.py index 5c27fa983..da5bbc1d7 100644 --- a/pyload/plugins/Addon.py +++ b/pyload/plugins/Addon.py @@ -97,9 +97,6 @@ class Addon(Base): """ - #: automatically register event listeners for functions, attribute will be deleted don't use it yourself - event_map = None - #: periodic call interval in seconds interval = 0 @@ -112,18 +109,6 @@ class Addon(Base): #: `AddonManager` self.manager = manager - #register events - if self.event_map: - for event, funcs in self.event_map.iteritems(): - if type(funcs) in (list, tuple): - for f in funcs: - self.evm.listenTo(event, getattr(self, f)) - else: - self.evm.listenTo(event, getattr(self, funcs)) - - #delete for various reasons - self.event_map = None - self.init() # start periodically if set |