summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/WindowsPhoneToastNotify.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 12:18:22 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-11 12:18:22 +0200
commitd68938a9a7fbfb079b0a6de469de766b5892d769 (patch)
tree443b21cc277126fa44486bc940f8aa521f92564d /module/plugins/hooks/WindowsPhoneToastNotify.py
parentUse wait to set time in SimpleHoster plugins (diff)
downloadpyload-d68938a9a7fbfb079b0a6de469de766b5892d769.tar.xz
Remove bad whitespaces
Merges vuolter/pyload@e4b2562
Diffstat (limited to 'module/plugins/hooks/WindowsPhoneToastNotify.py')
-rw-r--r--module/plugins/hooks/WindowsPhoneToastNotify.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/WindowsPhoneToastNotify.py b/module/plugins/hooks/WindowsPhoneToastNotify.py
index a769d0c5e..a9772e766 100644
--- a/module/plugins/hooks/WindowsPhoneToastNotify.py
+++ b/module/plugins/hooks/WindowsPhoneToastNotify.py
@@ -32,7 +32,7 @@ class WindowsPhoneToastNotify(Hook):
def setup(self):
self.info = {}
-
+
def getXmlData(self):
myxml = ("<?xml version='1.0' encoding='utf-8'?> <wp:Notification xmlns:wp='WPNotification'> "
"<wp:Toast> <wp:Text1>Pyload Mobile</wp:Text1> <wp:Text2>Captcha waiting!</wp:Text2> "
@@ -60,8 +60,8 @@ class WindowsPhoneToastNotify(Hook):
if self.core.isClientConnected() and not self.getConfig("force"):
return False
-
+
if (time.time() - float(self.getStorage("LAST_NOTIFY", 0))) < self.getConf("pushTimeout"):
return False
-
+
self.doRequest()