From adfe155f45b78ddb7b52adc76491c6b42dac1df8 Mon Sep 17 00:00:00 2001 From: Thomas Juerges <4-jurges@users.noreply.git.astron.nl> Date: Sat, 13 Feb 2021 04:21:22 +0100 Subject: [PATCH] Add forgotten "self." --- SDP/SDP/SDP.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SDP/SDP/SDP.py b/SDP/SDP/SDP.py index 76e6616ff..1a2fed41d 100644 --- a/SDP/SDP/SDP.py +++ b/SDP/SDP/SDP.py @@ -303,7 +303,7 @@ class SDP(Device): def write_fpga_mask_RW(self, value): """Return the fpga_mask_RW attribute.""" self.attribute_mapping["fpga_mask_RW"].set_value(value.tolist()) - _fpga_mask_RW = value + self._fpga_mask_RW = value return @only_when_on @@ -366,7 +366,7 @@ class SDP(Device): def write_fpga_weights_RW(self, value): """Return the fpga_weights_RW attribute.""" self.attribute_mapping["fpga_weights_RW"].set_data_value(opcua.ua.uatypes.Variant(value = value.flatten().tolist(), varianttype=opcua.ua.VariantType.Int16)) - _fpga_weights_RW = value + self._fpga_weights_RW = value @only_when_on @fault_on_error -- GitLab