- added logging variable 'object_type'
[plcapi.git] / PLC / Methods / AddSite.py
index 5f4c355..c58f5e5 100644 (file)
@@ -29,6 +29,8 @@ class AddSite(Method):
 
     returns = Parameter(int, 'New site_id (> 0) if successful')
 
+    object_type = 'Site'
+
 
     def call(self, auth, site_fields):
         site_fields = dict(filter(can_update, site_fields.items()))