From 526a5141071cbbb27ee8a488ea29a406e1b1f9f1 Mon Sep 17 00:00:00 2001 From: "mark.j0hnst0n" Date: Mon, 16 Dec 2024 17:07:46 +0000 Subject: [PATCH] fix --- mail/chief/licence_reply/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"