diff --git a/devices/src/attribute_wrapper.py b/devices/src/attribute_wrapper.py
index 1076325216273e01d884479cef68e8bd57979029..66dcd4bb3b297e0fa46cce5d28ae6c74e034f0ac 100644
--- a/devices/src/attribute_wrapper.py
+++ b/devices/src/attribute_wrapper.py
@@ -66,8 +66,8 @@ class attribute_wrapper(attribute):
             def read_RW(device):
                 # print("read_RW {}, {}x{}, {}, {}".format(me.name, me.dim_x, me.dim_y, me.attr_type, me.value))
                 """
-				read_RW returns the value that was last written to the attribute
-				"""
+                read_RW returns the value that was last written to the attribute
+                """
                 try:
                     return device.value_dict[self]
                 except Exception as e:
@@ -78,13 +78,12 @@ class attribute_wrapper(attribute):
             @fault_on_error
             def write_RW(device, value):
                 """
-				_write_RW writes a value to this attribute
-				"""
-                try:
-                    self.write_function(value)
-                    device.value_dict[self] = value
-                except Exception as e:
-                    raise e
+                _write_RW writes a value to this attribute
+                """
+
+                self.write_function(value)
+                device.value_dict[self] = value
+
 
             self.fget = read_RW
             self.fset = write_RW