diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2016-12-29 19:39:51 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2016-12-29 19:39:51 +0100 |
| commit | e89075aa3a94cb153746b9aebbfaeab018f3c9ed (patch) | |
| tree | 195170ef87e2d280d245c3ff862871c5df8d1c98 | |
| parent | 4619f4f4ed3ebf5f41aca19063ee979db7099a9a (diff) | |
| download | python-pushover-e89075aa3a94cb153746b9aebbfaeab018f3c9ed.tar.gz | |
Line length fix
| -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 |
