瀏覽代碼

feat: 去除inbox设定是的connect

SongZihuan 2 年之前
父節點
當前提交
6d4d8aeab2
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      mailbox/imap.py

+ 0 - 2
mailbox/imap.py

@@ -27,8 +27,6 @@ class Imap:
     @inbox.setter
     def inbox(self, inbox):
         self.__inbox = inbox
-        self.connect()  # 测试连接
-        self.disconnect()
         self.__mailbox = {}
 
     def connect(self):