From 803936130c8caa1c386c3a4a87f4655186089bc8 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 2 Dec 2021 09:46:50 +0100 Subject: [PATCH] doc spell fixing --- InvenTree/common/notifications.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/InvenTree/common/notifications.py b/InvenTree/common/notifications.py index 0469066fda..3478a71b32 100644 --- a/InvenTree/common/notifications.py +++ b/InvenTree/common/notifications.py @@ -19,16 +19,16 @@ class NotificationMethod: method_name = '' def __init__(self, obj, entry_name, receivers) -> None: - # check if a sending fnc is defined + # Check if a sending fnc is defined if (not hasattr(self, 'send')) and (not hasattr(self, 'send_bulk')): raise NotImplementedError('A NotificationMethod must either define a `send` or a `send_bulk` method') - # define arguments + # Define arguments self.obj = obj self.entry_name = entry_name self.receivers = receivers - # gather recipients + # Gather recipients self.recipients = self.get_recipients() def get_recipients(self):