mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Revert "this wont happen"
This reverts commit 3047bd66127e3ccd1ec66e90e4ad6e0c16322c7f.
This commit is contained in:
parent
3047bd6612
commit
55ca284a13
@ -218,6 +218,9 @@ def deliver_notification(cls: NotificationMethod, obj, category: str, targets, c
|
||||
else:
|
||||
success = False
|
||||
|
||||
else:
|
||||
raise NotImplementedError('No delivery method found')
|
||||
|
||||
# Run cleanup for delivery method
|
||||
method.cleanup()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user