Skip to content

Commit

Permalink
fix typo in file iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
GreatYYX committed Apr 18, 2017
1 parent 40c7e19 commit 0282c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rltk/file_iterator.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def next(self):
matches = self._value_path_parser.find(line)
extracted_value = [match.value for match in matches]
if len(extracted_value) == 0:
raise ValueError('Can\'t find id in json line file by id_path')
raise ValueError('Can\'t find value in json line file by value_path')
value = extracted_value
elif self._type == 'csv':
line = self._csv_reader.next()
Expand Down

0 comments on commit 0282c2a

Please sign in to comment.