aboutsummaryrefslogtreecommitdiffhomepage
path: root/tap_google_sheets
diff options
context:
space:
mode:
Diffstat (limited to 'tap_google_sheets')
-rw-r--r--tap_google_sheets/sync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tap_google_sheets/sync.py b/tap_google_sheets/sync.py
index b77eab3..689be27 100644
--- a/tap_google_sheets/sync.py
+++ b/tap_google_sheets/sync.py
@@ -388,6 +388,8 @@ def sync(client, config, catalog, state):
388 LOGGER.info('last_datetime = {}, this_datetime = {}'.format(last_datetime, this_datetime)) 388 LOGGER.info('last_datetime = {}, this_datetime = {}'.format(last_datetime, this_datetime))
389 if this_datetime <= last_datetime: 389 if this_datetime <= last_datetime:
390 LOGGER.info('this_datetime <= last_datetime, FILE NOT CHANGED. EXITING.') 390 LOGGER.info('this_datetime <= last_datetime, FILE NOT CHANGED. EXITING.')
391 # Update file_metadata bookmark
392 write_bookmark(state, 'file_metadata', strftime(this_datetime))
391 return 393 return
392 # Sync file_metadata if selected 394 # Sync file_metadata if selected
393 sync_stream(stream_name, selected_streams, catalog, state, file_metadata_tf, time_extracted) 395 sync_stream(stream_name, selected_streams, catalog, state, file_metadata_tf, time_extracted)