diff --git a/brancheneinstufung.py b/brancheneinstufung.py index d48b65ce..935b1a14 100644 --- a/brancheneinstufung.py +++ b/brancheneinstufung.py @@ -158,7 +158,7 @@ def query_gpt(row, wiki_url): # === HAUPTLOGIK === try: - start_index = next((i for i, row in enumerate(sheet_values[1:], start=1) if len(row) > 13 and not row[13].strip() else 1, 1) +start_index = next((i for i, row in enumerate(sheet_values[1:], start=1) if len(row) > 13 and not row[13].strip()), 1) except StopIteration: start_index = 1