embed svn Id keyword
[plcapi.git] / PLC / Methods / NotifyPersons.py
index b8c0979..50df45a 100644 (file)
@@ -1,3 +1,4 @@
+# $Id#
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Filter import Filter
@@ -42,8 +43,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