Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
priority must be an int (fixes GH-4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Sep 27, 2016
1 parent 6c6d4f8 commit 1762aaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sentry_pushover/plugin.py
Expand Up @@ -97,7 +97,7 @@ def notify(self, notification):
'title': title,
'url': link,
'url_title': 'Details',
'priority': self.get_option('priority', project),
'priority': 1 if self.get_option('priority', project) else 0,
}

rv = safe_urlopen('https://api.pushover.net/1/messages.json',
Expand Down

0 comments on commit 1762aaa

Please sign in to comment.