Skip to content

Commit

Permalink
pushover priority is an int, fixes #62
Browse files Browse the repository at this point in the history
  • Loading branch information
dschep committed May 19, 2016
1 parent f30f314 commit b8c1340
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ntfy/backends/pushover.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b8c1340

Please sign in to comment.