diff --git a/mail/chief/licence_reply/processor.py b/mail/chief/licence_reply/processor.py index d459a3a4..8221e506 100644 --- a/mail/chief/licence_reply/processor.py +++ b/mail/chief/licence_reply/processor.py @@ -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}"