1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-25 00:37:31 +02:00

doc update

This commit is contained in:
Kelly Brazil
2022-03-23 10:50:34 -07:00
parent f3aa797d96
commit e66a82ff49
3 changed files with 6 additions and 5 deletions

View File

@ -252,7 +252,7 @@ def _fixup_separators(line: str) -> str:
def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]:
"""
Return a List of tuples of a row counters and data lines.
Return a List of tuples of row-counters and data lines.
"""
result = []
header_found = False
@ -293,7 +293,7 @@ def _normalize_rows(table_lines: Iterable[str]) -> List[Tuple[int, List[str]]]:
row_counter += 1
continue
# subsequent data row found
# data row found
if not _is_separator(line) and header_found and data_found:
line = _fixup_separators(line)
line_list = line.split('|')