Skip to content

Commit

Permalink
Merge pull request #120 from artefactory/fix-recent-edit-csvreader
Browse files Browse the repository at this point in the history
fix: adapt new func names
  • Loading branch information
tom-grivaud authored Mar 2, 2021
2 parents 47d51c5 + a00e182 commit 8b3aa47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nck/utils/file_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def unzip(input_file, output_path):
def sdf_to_njson_generator(path_to_file):
csv_reader = CSVReader(csv_delimiter=",", csv_fieldnames=None)
with open(path_to_file, "rb") as fd:
dict_reader = csv_reader.read_csv(fd)
dict_reader = csv_reader.read(fd)
for line in dict_reader:
yield line

Expand Down

0 comments on commit 8b3aa47

Please sign in to comment.