You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Executing ntfy with Pushover backend this way:
$ ntfy -o priority 2 send "f*ck"
yields to this error:
ERROR: Failed to send notification using pushover
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/ntfy/init.py", line 30, in notify
module.notify(message=message, title=title, **backend_config)
File "/usr/lib/python3.5/site-packages/ntfy/backends/pushover.py", line 63, in notify
if priority <= 2 and priority >= -2:
TypeError: unorderable types: str() <= int()
Executing ntfy with Pushover backend this way:
$ ntfy -o priority 2 send "f*ck"
yields to this error:
ERROR: Failed to send notification using pushover
Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/ntfy/init.py", line 30, in notify
module.notify(message=message, title=title, **backend_config)
File "/usr/lib/python3.5/site-packages/ntfy/backends/pushover.py", line 63, in notify
if priority <= 2 and priority >= -2:
TypeError: unorderable types: str() <= int()
https://github.com/dschep/ntfy/blob/master/ntfy/backends/pushover.py#L63
The text was updated successfully, but these errors were encountered: