summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/JustPremium.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 09:42:34 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-07-19 09:42:34 +0200
commit502517f37c7540b0bddb092e69386d9d6f08800c (patch)
treea90f2143063538f466b0283383a97067f7ea829d /module/plugins/hooks/JustPremium.py
parentImprove fixurl method (diff)
downloadpyload-502517f37c7540b0bddb092e69386d9d6f08800c.tar.xz
Fix addons
Diffstat (limited to 'module/plugins/hooks/JustPremium.py')
-rw-r--r--module/plugins/hooks/JustPremium.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/module/plugins/hooks/JustPremium.py b/module/plugins/hooks/JustPremium.py
index 706de4d81..b30625e9a 100644
--- a/module/plugins/hooks/JustPremium.py
+++ b/module/plugins/hooks/JustPremium.py
@@ -2,10 +2,10 @@
import re
-from module.plugins.internal.Hook import Hook
+from module.plugins.internal.Addon import Addon
-class JustPremium(Hook):
+class JustPremium(Addon):
__name__ = "JustPremium"
__type__ = "hook"
__version__ = "0.24"
@@ -20,11 +20,7 @@ class JustPremium(Hook):
("immenz" , "immenz@gmx.net" )]
- interval = 0 #@TODO: Remove in 0.4.10
-
-
- def setup(self):
- self.info = {} #@TODO: Remove in 0.4.10
+ def init(self):
self.event_map = {'linksAdded': "links_added"}