diff --git a/pymelsec/type3e.py b/pymelsec/type3e.py index 515c033..bb9c1b2 100644 --- a/pymelsec/type3e.py +++ b/pymelsec/type3e.py @@ -267,27 +267,33 @@ def set_access_opt(self, self._set_comm_type(comm_type) if network: try: - self.network = struct.pack('B', network) + struct.pack('B', network) # Test + self.network = network # Store except: raise ValueError("network must be 0 <= network <= 255") if pc: try: - self.pc = struct.pack('B', pc) + struct.pack('B', pc) # Test + self.pc = pc # Store except: raise ValueError("pc must be 0 <= pc <= 255") if dest_moduleio: try: - self.dest_moduleio = struct.pack('