mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
raise if not implemented
This commit is contained in:
parent
0379498ee3
commit
61b6590f52
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user