aboutsummaryrefslogtreecommitdiffstats
path: root/pushover.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2016-03-25 16:20:17 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2016-03-25 16:20:17 -0400
commit38fdcc7c6650a93406cc3fb9f3e477137c9bc34d (patch)
tree214d3223186f311f0df0ac7f31341f09273a26e7 /pushover.py
parentc567f3725e4a5be6fb279ce2bdec1f02f6ba6142 (diff)
parentfa1f9ad120e81a51fe929b92fc4cbe481b35e78c (diff)
downloadpython-pushover-38fdcc7c6650a93406cc3fb9f3e477137c9bc34d.tar.gz
Merge pull request #15 from drachenminister/patch-1
Enable HTML Message Support
Diffstat (limited to 'pushover.py')
-rw-r--r--pushover.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pushover.py b/pushover.py
index a84abdc..156afcd 100644
--- a/pushover.py
+++ b/pushover.py
@@ -210,7 +210,7 @@ class Client:
"""Send a message to the user. It is possible to specify additional
properties of the message by passing keyword arguments. The list of
valid keywords is ``title, priority, sound, callback, timestamp, url,
- url_title, device, retry and expire`` which are described in the
+ url_title, device, retry, expire and html`` which are described in the
Pushover API documentation. For convenience, you can simply set
``timestamp=True`` to set the timestamp to the current timestamp.
@@ -218,7 +218,7 @@ class Client:
"""
valid_keywords = ["title", "priority", "sound", "callback",
"timestamp", "url", "url_title", "device",
- "retry", "expire"]
+ "retry", "expire", "html"]
payload = {"message": message, "user": self.user_key}
if self.device: