From 7ed4dedd5edf48daa07628af13c0874f0d6c5a39 Mon Sep 17 00:00:00 2001 From: clemensrieder <68914047+clemensrieder@users.noreply.github.com> Date: Wed, 11 Jan 2023 23:51:38 +0100 Subject: [PATCH] Update src/paperless_mail/mail.py Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- src/paperless_mail/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/paperless_mail/mail.py b/src/paperless_mail/mail.py index ca9a3079c..4031f26d0 100644 --- a/src/paperless_mail/mail.py +++ b/src/paperless_mail/mail.py @@ -91,7 +91,7 @@ class TagMailAction(BaseMailAction): def __init__(self, parameter): # The custom tag should look like "apple:" - if "apple" in parameter.lower(): + if "apple:" in parameter.lower(): try: _, self.color = parameter.split(":") self.color = self.color.strip()