aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pushover.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pushover.py b/pushover.py
index f6f8e98..0e3f4e6 100644
--- a/pushover.py
+++ b/pushover.py
@@ -192,7 +192,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 == True:
payload[key] = int(time.time())
elif key == "sound":
if not SOUNDS: