From 61b6590f52013bda00da69e5729977bb4350a42c Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 2 Dec 2021 09:42:50 +0100 Subject: [PATCH] raise if not implemented --- InvenTree/common/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/common/notifications.py b/InvenTree/common/notifications.py index 3d0be2be66..865e2ff65d 100644 --- a/InvenTree/common/notifications.py +++ b/InvenTree/common/notifications.py @@ -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