2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 12:05:53 +00:00

raise if not implemented

This commit is contained in:
Matthias
2021-12-02 09:42:50 +01:00
parent 0379498ee3
commit 61b6590f52

View File

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