mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-07 19:01:17 +00:00
this should not happen
This commit is contained in:
1 file changed
-3
@@ -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()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user