Commit e89075a 1 parent 4619f4f commit e89075a Copy full SHA for e89075a
File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -166,13 +166,14 @@ def poll(self):
166
166
167
167
def cancel (self ):
168
168
"""If the message request has a priority of 2, Pushover will keep
169
- sending the same notification until it either reaches its ``expire`` value
170
- or is aknowledged by the client. Calling the :func:`cancel` function will
171
- cancel the notification early.
169
+ sending the same notification until it either reaches its ``expire``
170
+ value or is aknowledged by the client. Calling the :func:`cancel`
171
+ function will cancel the notification early.
172
172
"""
173
173
if (self .receipt and not any (getattr (self , parameter )
174
174
for parameter in self .parameters )):
175
- request = Request ("post" , RECEIPT_URL + self .receipt + "/cancel.json" , {})
175
+ request = Request ("post" , RECEIPT_URL + self .receipt
176
+ + "/cancel.json" , {})
176
177
return request
177
178
178
179
You can’t perform that action at this time.
0 commit comments