mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Update src/paperless_mail/mail.py
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
93d272f50b
commit
7ed4dedd5e
@ -91,7 +91,7 @@ class TagMailAction(BaseMailAction):
|
||||
def __init__(self, parameter):
|
||||
|
||||
# The custom tag should look like "apple:<color>"
|
||||
if "apple" in parameter.lower():
|
||||
if "apple:" in parameter.lower():
|
||||
try:
|
||||
_, self.color = parameter.split(":")
|
||||
self.color = self.color.strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user