Skip to content

Commit 5b5051c

Browse files
committed
Pass settings not just versification to detector
1 parent 9b1a32f commit 5b5051c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

machine/corpora/paratext_project_versification_error_detector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def get_usfm_versification_errors(
2323
self,
2424
handler: Optional[UsfmVersificationErrorDetector] = None,
2525
) -> List[UsfmVersificationError]:
26-
handler = handler or UsfmVersificationErrorDetector(self._settings.versification)
26+
handler = handler or UsfmVersificationErrorDetector(self._settings)
2727
for file_name in self._settings.get_all_scripture_book_file_names():
2828
if not self._paratext_project_file_handler.exists(file_name):
2929
continue

0 commit comments

Comments
 (0)