mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Update src/paperless_mail/mail.py
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
parent
02e9500f58
commit
d064ff5763
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,7 @@ class TagMailAction(BaseMailAction):
|
||||||
def __init__(self, parameter):
|
def __init__(self, parameter):
|
||||||
|
|
||||||
# The custom tag should look like "apple:<color>"
|
# The custom tag should look like "apple:<color>"
|
||||||
if "apple" in parameter.lower():
|
if "apple:" in parameter.lower():
|
||||||
try:
|
try:
|
||||||
_, self.color = parameter.split(":")
|
_, self.color = parameter.split(":")
|
||||||
self.color = self.color.strip()
|
self.color = self.color.strip()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue