From c8d852c8509631449a0fd14307226445dd271c24 Mon Sep 17 00:00:00 2001 From: Shayki Abramczyk Date: Sun, 19 May 2024 11:28:24 +0300 Subject: [PATCH] another fix? --- categories.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/categories.py b/categories.py index 7eacfef5..76137a64 100644 --- a/categories.py +++ b/categories.py @@ -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":