diff options
Diffstat (limited to 'tap_google_sheets')
-rw-r--r-- | tap_google_sheets/sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tap_google_sheets/sync.py b/tap_google_sheets/sync.py index 3e26bc4..26c2d19 100644 --- a/tap_google_sheets/sync.py +++ b/tap_google_sheets/sync.py | |||
@@ -505,7 +505,7 @@ def sync(client, config, catalog, state): | |||
505 | spreadsheet_id=spreadsheet_id, | 505 | spreadsheet_id=spreadsheet_id, |
506 | range_rows=range_rows) | 506 | range_rows=range_rows) |
507 | # Data is returned as a list of arrays, an array of values for each row | 507 | # Data is returned as a list of arrays, an array of values for each row |
508 | sheet_data_rows = sheet_data.get('values') | 508 | sheet_data_rows = sheet_data.get('values', []) |
509 | 509 | ||
510 | # Transform batch of rows to JSON with keys for each column | 510 | # Transform batch of rows to JSON with keys for each column |
511 | sheet_data_tf, row_num = transform_sheet_data( | 511 | sheet_data_tf, row_num = transform_sheet_data( |