Skip to content

Commit ca82ec9

Browse files
committed
corrected the indentation
1 parent 97e0f39 commit ca82ec9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/table_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ def get_column_index(self, column_name: str) -> int:
3737
# Try to find headers in <thead> first
3838
header_row = self.table.locator("thead tr").first
3939
if not header_row.locator("th").count():
40-
# Fallback: look for header in <tbody> if <thead> is missing or empty
40+
# Fallback: look for header in <tbody> if <thead> is missing or empty
4141
header_row = (
42-
self.table.locator("tbody tr").filter(has=self.page.locator("th")).first
43-
)
42+
self.table.locator("tbody tr").filter(has=self.page.locator("th")).first
43+
)
4444

4545
headers = header_row.locator("th")
4646
header_texts = headers.evaluate_all("ths => ths.map(th => th.innerText.trim())")

0 commit comments

Comments
 (0)