Added ability to test pushover

This commit is contained in:
rembo10
2015-06-08 21:55:14 -07:00
parent 4b8222d792
commit cd08b72df7

View File

@@ -1424,6 +1424,13 @@ class WebInterface(object):
logger.warn(msg)
return msg
@cherrypy.expose
def testPushover(self):
logger.info(u"Sending Pushover notification")
pushover = notifiers.PUSHOVER()
result = pushover.notify("hooray!", "This is a test")
return result
class Artwork(object):
@cherrypy.expose
def index(self):