missing import
[plcapi.git] / PLC / Methods / NotifyPersons.py
index b8c0979..f266891 100644 (file)
@@ -1,3 +1,5 @@
+# $Id$
+# $URL$
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
 from PLC.Filter import Filter
@@ -42,8 +44,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