From b8c1340ec076549b4b25d111f8a376dc4197c0c6 Mon Sep 17 00:00:00 2001 From: Daniel Schep Date: Thu, 19 May 2016 12:00:20 -0400 Subject: [PATCH] pushover priority is an int, fixes #62 --- ntfy/backends/pushover.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ntfy/backends/pushover.py b/ntfy/backends/pushover.py index d7273b5..ba20a46 100644 --- a/ntfy/backends/pushover.py +++ b/ntfy/backends/pushover.py @@ -60,6 +60,7 @@ def notify(title, if html: data['html'] = 1 + priority = int(priority) if priority <= 2 and priority >= -2: if priority != 0: data['priority'] = priority