Skip to content

Commit 3a4add6

Browse files
Removing unused argument
1 parent bdde353 commit 3a4add6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/datasets/investigation_dataset_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ def are_fields_on_page(
679679
normalize_label(label) for label in label_texts if normalize_label(label)
680680
]
681681

682-
def label_matches(field_normalized: str, idx: int) -> bool:
682+
def label_matches(idx: int) -> bool:
683683
if visible is True:
684684
return label_elements[idx].is_visible()
685685
if visible is False:
@@ -699,7 +699,7 @@ def label_matches(field_normalized: str, idx: int) -> bool:
699699
match_found = False
700700

701701
for i, label in enumerate(normalized_labels):
702-
if field_normalized in label and label_matches(field_normalized, i):
702+
if field_normalized in label and label_matches(i):
703703
match_found = True
704704
break
705705

0 commit comments

Comments
 (0)