diff --git a/apprise/plugins/NotifyPushover.py b/apprise/plugins/NotifyPushover.py index 64b94774..01214808 100644 --- a/apprise/plugins/NotifyPushover.py +++ b/apprise/plugins/NotifyPushover.py @@ -288,9 +288,8 @@ class NotifyPushover(NotifyBase): self.sound = NotifyPushover.default_pushover_sound \ if not isinstance(sound, str) else sound.lower() if self.sound and self.sound not in PUSHOVER_SOUNDS: - msg = 'The sound specified ({}) is invalid.'.format(sound) - self.logger.warning(msg) - raise TypeError(msg) + msg = 'Using custom sound specified ({}). '.format(sound) + self.logger.debug(msg) # The Priority of the message self.priority = int( diff --git a/test/test_plugin_pushover.py b/test/test_plugin_pushover.py index df48e65e..667fe683 100644 --- a/test/test_plugin_pushover.py +++ b/test/test_plugin_pushover.py @@ -60,9 +60,9 @@ apprise_url_tests = ( ('pover://%s' % ('a' * 30), { 'instance': TypeError, }), - # API Key + invalid sound setting - ('pover://%s@%s?sound=invalid' % ('u' * 30, 'a' * 30), { - 'instance': TypeError, + # API Key + custom sound setting + ('pover://%s@%s?sound=mysound' % ('u' * 30, 'a' * 30), { + 'instance': NotifyPushover, }), # API Key + valid alternate sound picked ('pover://%s@%s?sound=spacealarm' % ('u' * 30, 'a' * 30), {