Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
annagav committed Jun 24, 2024
1 parent 01bc961 commit 0b4b67a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/mitol/google_sheets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,12 @@ def get_data_rows_after_start(
first_row_to_process = start_row
else:
# allow to choose to process only last few rows
new_first_row = end_row - settings.MITOL_GOOGLE_SHEETS_PROCESS_ONLY_LAST_ROWS_NUM
first_row_to_process = new_first_row if new_first_row > start_row else start_row
new_first_row = (
end_row - settings.MITOL_GOOGLE_SHEETS_PROCESS_ONLY_LAST_ROWS_NUM
)
first_row_to_process = (
new_first_row if new_first_row > start_row else start_row
)
values = worksheet.get_values(
start=(first_row_to_process, start_col),
end=(end_row, end_col),
Expand Down

0 comments on commit 0b4b67a

Please sign in to comment.