Skip to content

Commit 0a7f6b5

Browse files
committed
[tools/odmlparser] DictReader: Add ignore_errors
1 parent 3bf7212 commit 0a7f6b5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

odml/tools/odmlparser.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ def from_file(self, file, doc_format=None):
183183
print(err)
184184
return None
185185

186-
par = DictReader(show_warnings=self.show_warnings)
186+
par = DictReader(ignore_errors=True,
187+
show_warnings=self.show_warnings)
187188
self.doc = par.to_odml(self.parsed_doc)
188189
# Provide original file name via the in memory document
189190
self.doc.origin_file_name = basename(file)

0 commit comments

Comments
 (0)