From fa9a4b70bb6b437df3d22687cd1e4428bf19c5d0 Mon Sep 17 00:00:00 2001 From: Mike Lang Date: Tue, 3 Oct 2023 00:14:57 +1100 Subject: [PATCH] bugfix --- sheetsync/sheetsync/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheetsync/sheetsync/main.py b/sheetsync/sheetsync/main.py index 007ad9d..a2f29e7 100644 --- a/sheetsync/sheetsync/main.py +++ b/sheetsync/sheetsync/main.py @@ -179,7 +179,7 @@ class SheetSync(object): rows_found.labels(worksheet).inc() # If no database error, but we have parse errors, indicate they should be displayed. - if event.error is None and row['_parse_errors']: + if event.error is None and row.get('_parse_errors'): event = event._replace(error=", ".join(row['_parse_errors'])) # As a presentation detail, we show any row in state DONE with public = False as