diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 09:42:34 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-07-19 09:42:34 +0200 |
commit | 502517f37c7540b0bddb092e69386d9d6f08800c (patch) | |
tree | a90f2143063538f466b0283383a97067f7ea829d /module/plugins/hooks/WindowsPhoneNotify.py | |
parent | Improve fixurl method (diff) | |
download | pyload-502517f37c7540b0bddb092e69386d9d6f08800c.tar.xz |
Fix addons
Diffstat (limited to 'module/plugins/hooks/WindowsPhoneNotify.py')
-rw-r--r-- | module/plugins/hooks/WindowsPhoneNotify.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/module/plugins/hooks/WindowsPhoneNotify.py b/module/plugins/hooks/WindowsPhoneNotify.py index 511b4b568..b4b4d2658 100644 --- a/module/plugins/hooks/WindowsPhoneNotify.py +++ b/module/plugins/hooks/WindowsPhoneNotify.py @@ -3,10 +3,10 @@ import httplib import time -from module.plugins.internal.Hook import Hook, Expose +from module.plugins.internal.Addon import Addon, Expose -class WindowsPhoneNotify(Hook): +class WindowsPhoneNotify(Addon): __name__ = "WindowsPhoneNotify" __type__ = "hook" __version__ = "0.12" @@ -28,12 +28,7 @@ class WindowsPhoneNotify(Hook): ("Walter Purcaro", "vuolter@gmail.com" )] - interval = 0 #@TODO: Remove in 0.4.10 - - - def setup(self): - self.info = {} #@TODO: Remove in 0.4.10 - + def init(self): self.event_list = ["plugin_updated"] self.event_map = {'allDownloadsProcessed': "all_downloads_processed"} |