mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
fix formatting
This commit is contained in:
parent
edabf208bc
commit
5c49bbfc73
@ -73,7 +73,7 @@ class TagMailAction(BaseMailAction):
|
|||||||
def post_consume(self, M: MailBox, message_uids, parameter):
|
def post_consume(self, M: MailBox, message_uids, parameter):
|
||||||
if re.search(r"gmail\.com$|googlemail\.com$", M._host):
|
if re.search(r"gmail\.com$|googlemail\.com$", M._host):
|
||||||
for uid in message_uids:
|
for uid in message_uids:
|
||||||
M.client.uid("STORE", uid, 'X-GM-LABELS', self.keyword)
|
M.client.uid("STORE", uid, "X-GM-LABELS", self.keyword)
|
||||||
else:
|
else:
|
||||||
M.flag(message_uids, [self.keyword], True)
|
M.flag(message_uids, [self.keyword], True)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user