Skip to content

Commit

Permalink
aha!
Browse files Browse the repository at this point in the history
  • Loading branch information
hf-kklein committed May 17, 2024
1 parent 07aa241 commit 1d0348d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/kohlrahbi/read_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ def should_end_search(pruefi: str, seed: Seed | None, searched_pruefi_is_found:
"""Determines if the search for the AHB table should end."""
if seed is None:
return False
if pruefi not in seed.pruefidentifikatoren:
return False
return searched_pruefi_is_found
return pruefi not in seed.pruefidentifikatoren and searched_pruefi_is_found


def process_table(
Expand Down

0 comments on commit 1d0348d

Please sign in to comment.