From 9c79eaf6be4aaceffaa44ca1d49cebb5d5737caa Mon Sep 17 00:00:00 2001 From: midichef <67946319+midichef@users.noreply.github.com> Date: Fri, 20 Dec 2024 23:49:57 -0800 Subject: [PATCH] [join-] fix putValue for merge rows absent in any source sheet --- visidata/features/join.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/visidata/features/join.py b/visidata/features/join.py index bde9ed876..603926eeb 100644 --- a/visidata/features/join.py +++ b/visidata/features/join.py @@ -166,7 +166,8 @@ def calcValue(self, row): def putValue(self, row, value): for vs, c in reversed(list(self.cols.items())): - c.setValue(row[vs], value) + if row[vs] is not None: + c.setValue(row[vs], value) def isDiff(self, row, value): col = list(self.cols.values())[0]