Skip to content

Commit

Permalink
bugfix csv reader
Browse files Browse the repository at this point in the history
  • Loading branch information
guipenedo committed Oct 5, 2023
1 parent d9982af commit 4891228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/datatrove/pipeline/readers/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(
self.content_column = content_column
self.id_column = id_column
self.compression = compression
self.adapter = adapter if adapter else lambda d, path, li: self._base_adapter
self.adapter = adapter if adapter else self._base_adapter
self.empty_warning = False

def read_file(self, datafile: InputDataFile):
Expand Down

0 comments on commit 4891228

Please sign in to comment.