Skip to content

Commit 8df1ccb

Browse files
fix tests
1 parent 6c2f69b commit 8df1ccb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def log_title(title: str, title_len: int = TITLE_LEN):
2626

2727
@staticmethod
2828
def log_to_csv(csv_name: str, field_names: tuple[str], row: dict | None = None):
29+
fields_name = list(map(lambda x: x.replace('_', '')))
2930
if isinstance(row, dict):
3031
with open(csv_name, 'a', encoding='utf-8', newline='') as file:
3132
writer = csv.DictWriter(file, fieldnames=field_names)

0 commit comments

Comments
 (0)