From 5273e0cf465c9ab375386e60a29099f61ffdc73b Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Tue, 4 Nov 2025 10:37:12 +0100 Subject: [PATCH] do not send Nones --- dap/utils/bsreadext.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dap/utils/bsreadext.py b/dap/utils/bsreadext.py index 98c3789..ea7e823 100644 --- a/dap/utils/bsreadext.py +++ b/dap/utils/bsreadext.py @@ -22,6 +22,8 @@ def pack_bsread_data(orig, prefix, skip=None): elif isinstance(v, list): # bsread fails for empty lists and non-1D lists v = list_to_array(v) + if v is None: + continue data[f"{prefix}:{k}"] = v return data