소스 검색

print hat für zusätzliche Admin-Mails gesorgt, daher auskommentiert

robert 2 년 전
부모
커밋
a4e083043e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mailserver/imap.py

+ 2 - 2
mailserver/imap.py

@@ -52,8 +52,8 @@ class Imap:
 
                 if self.is_valid_message(msg, domain):
                     mb.move(msg.uid, subfolder)
-                else:
-                    print(domain, ', '.join(msg.to), msg.subject)
+                # else:
+                #     print(domain, ', '.join(msg.to), msg.subject)
                 # print(msg.text)
                 # print([att.filename for att in msg.attachments if att.filename.endswith('.pdf')])