mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Update src/paperless_mail/mail.py
Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
		@@ -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