mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
this should not happen
This commit is contained in:
parent
cccbc567fe
commit
0b6cceb998
@ -219,9 +219,6 @@ 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