Ver código fonte

Update email_fetcher.py

Bastien Sevajol 7 anos atrás
pai
commit
2cf58dfb74
Nenhuma conta conectada ao e-mail do autor de commit
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4 2
      tracim/tracim/lib/email_fetcher.py

+ 4 - 2
tracim/tracim/lib/email_fetcher.py Ver arquivo

332
     def stop(self) -> None:
332
     def stop(self) -> None:
333
         self._is_active = False
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
         Get news message from mailbox
340
         Get news message from mailbox
339
         :return: list of new mails
341
         :return: list of new mails