fix event logging
[plcapi.git] / PLC / Methods / AddConfFile.py
index 5cc0828..68e6a53 100644 (file)
@@ -1,3 +1,4 @@
+# $Id#
 from PLC.Faults import *
 from PLC.Method import Method
 from PLC.Parameter import Parameter, Mixed
@@ -32,6 +33,6 @@ class AddConfFile(Method):
         conf_file = ConfFile(self.api, conf_file_fields)
         conf_file.sync()
 
-       self.object_ids = [conf_file['conf_file_id']]
+       self.event_objects = {'ConfFile': [conf_file['conf_file_id']]}
 
         return conf_file['conf_file_id']