mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
fix formatting
This commit is contained in:
parent
edabf208bc
commit
5c49bbfc73
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue