Skip to content

Commit 88feec8

Browse files
committed
fix crash on CDSL statements
1 parent ef9a4d5 commit 88feec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

casparser/process/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def process_cas_text(text, file_type: FileType = FileType.UNKNOWN) -> ProcessedC
2525
:param text:
2626
:return:
2727
"""
28-
if file_type in (FileType.CDSL, FileType.NSDL):
28+
if file_type == FileType.NSDL:
2929
return process_nsdl_text(text)
3030
cas_statement_type = detect_cas_type(text[:1000])
3131
if cas_statement_type == CASFileType.DETAILED:

0 commit comments

Comments
 (0)