aboutsummaryrefslogtreecommitdiffstats
path: root/pushover.py
diff options
context:
space:
mode:
Diffstat (limited to 'pushover.py')
-rw-r--r--pushover.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pushover.py b/pushover.py
index 68765dc..2a7c61d 100644
--- a/pushover.py
+++ b/pushover.py
@@ -196,7 +196,7 @@ class Client:
if key not in valid_keywords:
raise ValueError("{0}: invalid message parameter".format(key))
- if key == "timestamp" and value:
+ if key == "timestamp" and value is True:
payload[key] = int(time.time())
elif key == "sound":
if not SOUNDS: