diff --git a/forefront/__init__.py b/forefront/__init__.py index 30aae84..03f2472 100644 --- a/forefront/__init__.py +++ b/forefront/__init__.py @@ -60,7 +60,7 @@ class Account: while True: sleep(1) for _ in mail.fetch_inbox(): - print(mail.get_message_content(_["id"])) + if logging: print(mail.get_message_content(_["id"])) mail_token = match(r"(\d){5,6}", mail.get_message_content(_["id"])).group(0) if mail_token: