From 6d1deeef413a78b89157ef2bc10c7984ed2d05c2 Mon Sep 17 00:00:00 2001 From: "mark.j0hnst0n" Date: Mon, 16 Dec 2024 15:35:12 +0000 Subject: [PATCH] lint --- mail/icms/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/icms/tasks.py b/mail/icms/tasks.py index 406d8bae..971f5609 100644 --- a/mail/icms/tasks.py +++ b/mail/icms/tasks.py @@ -253,5 +253,5 @@ def _check_for_file_errors(reply_email: email.message.EmailMessage) -> None: processor = LicenceReplyProcessor.load_from_mail(reply_email) error = None for error in processor._current_rejected.errors: - if "3057\Duplicate transaction reference" in error: + if "Duplicate transaction reference" in error: raise EdifactFileError(f"Unable to process file due to the following error: {error}")