From 2db20d202b1f43e589fdbfb9506b833ff2271859 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Mon, 12 Aug 2024 12:54:56 +1000 Subject: [PATCH] sheetsync: Update streamlog middleware for section -> tab rename --- sheetsync/sheetsync/streamlog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sheetsync/sheetsync/streamlog.py b/sheetsync/sheetsync/streamlog.py index c0f6bec..264303f 100644 --- a/sheetsync/sheetsync/streamlog.py +++ b/sheetsync/sheetsync/streamlog.py @@ -101,8 +101,8 @@ class StreamLogMiddleware: return output[column] = value - # Section name is sheet name - output["sheet_name"] = row["section"]["name"] if row["section"] else "unknown" + # Tab name is sheet name + output["sheet_name"] = row["tab"]["name"] if row["tab"] else "unknown" # Implicit tags output['tags'] += [