Skip to content

Commit

Permalink
another fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
shayki5 committed May 19, 2024
1 parent e67cb24 commit c8d852c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions categories.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def get_data_from_sheets_on_start():
# Get the index of the first cell among the last 20 values
first_cell_index = min(indices)
# Print the index
print("Index of the first cell in the last 20 values in column D:", first_cell_index)
print("Index of the first cell in the last 20 values in column D:", first_cell_index+1)

for index, value in enumerate(column_d_values, start=first_cell_index):
for index, value in enumerate(column_d_values, start=first_cell_index+1):
corresponding_value_e = sheet.cell(index, 5).value
print(f"name: {value}, category: {corresponding_value_e}")
if corresponding_value_e == "not found":
Expand Down

0 comments on commit c8d852c

Please sign in to comment.