X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=PLC%2FMethods%2FNotifyPersons.py;h=70c273d6ffe1f165de565c27b0dd7cd462c9bfba;hb=2f01db56f89dc123c984424d51ecd81dc4017b2e;hp=b8c0979f69caf87526f128131d413b517d9b7586;hpb=e31c0c31ad64731981b9302180cd5d20c225549f;p=plcapi.git diff --git a/PLC/Methods/NotifyPersons.py b/PLC/Methods/NotifyPersons.py index b8c0979..70c273d 100644 --- a/PLC/Methods/NotifyPersons.py +++ b/PLC/Methods/NotifyPersons.py @@ -42,8 +42,7 @@ class NotifyPersons(Method): Body = body) # Logging variables - self.object_type = "Person" - self.object_ids = [person['person_id'] for person in persons] + self.event_objects = {'Person': [person['person_id'] for person in persons]} self.message = subject return 1