Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
markj0hnst0n committed Dec 16, 2024
1 parent f9ca7b6 commit 526a514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mail/chief/licence_reply/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def __init__(self, data: str) -> None:

@classmethod
def load_from_mail(cls, mail: Mail) -> "LicenceReplyProcessor":
acceptable_types = [ExtractTypeEnum.LICENCE_DATA, LICENCE_REPLY]
acceptable_types = [ExtractTypeEnum.LICENCE_DATA, ExtractTypeEnum.LICENCE_REPLY]
if mail.extract_type not in acceptable_types:
raise ValueError(
f"Error with Mail ({mail.id} - {mail.response_subject}): Invalid extract type {mail.extract_type}"
Expand Down

0 comments on commit 526a514

Please sign in to comment.