]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
fix formatting
authorStefan <stefan@sisao.de>
Wed, 17 Aug 2022 09:18:48 +0000 (11:18 +0200)
committerTrenton Holmes <holmes.trenton@gmail.com>
Sat, 20 Aug 2022 20:15:38 +0000 (13:15 -0700)
src/paperless_mail/mail.py

index e7991e25b35b9af625c0c57c9615e552647b11ec..3896a9348e234d407f8659a104e83793cec08b00 100644 (file)
@@ -73,7 +73,7 @@ class TagMailAction(BaseMailAction):
     def post_consume(self, M: MailBox, message_uids, parameter):
         if re.search(r"gmail\.com$|googlemail\.com$", M._host):
             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:
             M.flag(message_uids, [self.keyword], True)