Skip to content

Commit

Permalink
fix: adapt new func names
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-grivaud committed Mar 2, 2021
1 parent 47d51c5 commit a00e182
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 a00e182

Please sign in to comment.