raise if not implemented

This commit is contained in:
Matthias 2021-12-02 09:42:50 +01:00
parent 0379498ee3
commit 61b6590f52
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -32,7 +32,7 @@ class NotificationMethod:
self.recipiends = self.get_recipiends()
def get_recipiends(self):
return False
raise NotImplementedError('The `get_recipiends` method must be implemented!')
def cleanup(self):
return True