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