summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/WindowsPhoneNotify.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-27 23:46:29 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-27 23:46:29 +0200
commit9f3ab57ec994deb24cd31a1dfbd338eb71bffc8c (patch)
tree6ec639071a83426530f5f162b5556d6f23ba1a19 /module/plugins/hooks/WindowsPhoneNotify.py
parent[NetloadIn] Mark dead (temp) (diff)
downloadpyload-9f3ab57ec994deb24cd31a1dfbd338eb71bffc8c.tar.xz
Spare code cosmetics
Diffstat (limited to 'module/plugins/hooks/WindowsPhoneNotify.py')
-rw-r--r--module/plugins/hooks/WindowsPhoneNotify.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hooks/WindowsPhoneNotify.py b/module/plugins/hooks/WindowsPhoneNotify.py
index da960591c..8f66761f6 100644
--- a/module/plugins/hooks/WindowsPhoneNotify.py
+++ b/module/plugins/hooks/WindowsPhoneNotify.py
@@ -28,12 +28,14 @@ class WindowsPhoneNotify(Hook):
("Walter Purcaro", "vuolter@gmail.com" )]
- event_list = ["allDownloadsProcessed", "plugin_updated"]
interval = 0 #@TODO: Remove in 0.4.10
def setup(self):
- self.info = {} #@TODO: Remove in 0.4.10
+ self.info = {} #@TODO: Remove in 0.4.10
+
+ self.event_list = ["allDownloadsProcessed", "plugin_updated"]
+
self.last_notify = 0
self.notifications = 0