From 83e74a8ae9355b8116b022ce11bac10ada11c09f Mon Sep 17 00:00:00 2001 From: Nicolas Kruse Date: Fri, 19 Dec 2025 16:18:47 +0100 Subject: [PATCH] fix of new coparun signature in write_value --- src/copapy/_target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/copapy/_target.py b/src/copapy/_target.py index f9dedc4..8c41309 100644 --- a/src/copapy/_target.py +++ b/src/copapy/_target.py @@ -168,7 +168,7 @@ class Target(): raise ValueError(f"Unsupported value type: {var_type}") dw.write_com(binw.Command.END_COM) - assert coparun(dw.get_data()) > 0 + assert coparun(self._context, dw.get_data()) > 0 def read_value_remote(self, net: Net) -> None: """Reads the raw data of a value by the runner."""