diff options
| -rw-r--r-- | pushover.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pushover.py b/pushover.py index b89f92a..765e4ab 100644 --- a/pushover.py +++ b/pushover.py @@ -166,13 +166,14 @@ class MessageRequest(Request): def cancel(self): """If the message request has a priority of 2, Pushover will keep - sending the same notification until it either reaches its ``expire`` value - or is aknowledged by the client. Calling the :func:`cancel` function will - cancel the notification early. + sending the same notification until it either reaches its ``expire`` + value or is aknowledged by the client. Calling the :func:`cancel` + function will cancel the notification early. """ if (self.receipt and not any(getattr(self, parameter) for parameter in self.parameters)): - request = Request("post", RECEIPT_URL + self.receipt + "/cancel.json", {}) + request = Request("post", RECEIPT_URL + self.receipt + + "/cancel.json", {}) return request |
