mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-11-22 13:24:22 +00:00
Update src/paperless_mail/mail.py
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
1 parent
02e9500f58
commit
d064ff5763
1 file changed
+1
-1
@@ -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()
|
||||||
|
|||||||
Reference in new issue
Block a user