diff --git a/devices/util/attribute_wrapper.py b/devices/util/attribute_wrapper.py
index 9182da5161d9282304ffec64f2768a37c6541189..8340af6144c05bf56d60b4d1464ccf3d75278aac 100644
--- a/devices/util/attribute_wrapper.py
+++ b/devices/util/attribute_wrapper.py
@@ -139,11 +139,11 @@ class attribute_wrapper(attribute):
             logger.error("Exception while setting {} attribute with annotation: '{}'".format(client.__class__.__name__, self.comms_annotation))
             raise Exception("Exception while setting %s attribute with annotation: '%s'", client.__class__.__name__, self.comms_annotation) from e
 
-    def set_pass_func(self, client):
+    def set_pass_func(self):
         def pass_func(value=None):
             pass
 
-        logger.debug("using pass function for {} attribute with annotation: {}".format(client.__class__.__name__, self.comms_annotation))
+        logger.debug("using pass function for attribute with annotation: {}".format(self.comms_annotation))
 
         self.read_function = pass_func
         self.write_function = pass_func