Kaynağa Gözat

Update email_fetcher.py

Bastien Sevajol 6 yıl önce
ebeveyn
işleme
2cf58dfb74
No account linked to committer's email
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      tracim/tracim/lib/email_fetcher.py

+ 4 - 2
tracim/tracim/lib/email_fetcher.py Dosyayı Görüntüle

@@ -332,8 +332,10 @@ class MailFetcher(object):
332 332
     def stop(self) -> None:
333 333
         self._is_active = False
334 334
 
335
-    def _fetch(self, imapc: imapclient.IMAPClient) \
336
-            -> typing.List[MessageContainer]:
335
+    def _fetch(
336
+        self, 
337
+        imapc: imapclient.IMAPClient,
338
+    ) -> typing.List[MessageContainer]:
337 339
         """
338 340
         Get news message from mailbox
339 341
         :return: list of new mails