summaryrefslogtreecommitdiffstats
path: root/forefront/__init__.py
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-29 00:53:14 +0200
committerGitHub <noreply@github.com>2023-04-29 00:53:14 +0200
commit7542aac4c1651c0147e17cf3f8793b41d1217ca0 (patch)
tree023d230bc16d240dc8b77b185129c9acadef045e /forefront/__init__.py
parentUpdate README.md (diff)
parentPrint the mail messages only when logging (diff)
downloadgpt4free-7542aac4c1651c0147e17cf3f8793b41d1217ca0.tar
gpt4free-7542aac4c1651c0147e17cf3f8793b41d1217ca0.tar.gz
gpt4free-7542aac4c1651c0147e17cf3f8793b41d1217ca0.tar.bz2
gpt4free-7542aac4c1651c0147e17cf3f8793b41d1217ca0.tar.lz
gpt4free-7542aac4c1651c0147e17cf3f8793b41d1217ca0.tar.xz
gpt4free-7542aac4c1651c0147e17cf3f8793b41d1217ca0.tar.zst
gpt4free-7542aac4c1651c0147e17cf3f8793b41d1217ca0.zip
Diffstat (limited to 'forefront/__init__.py')
-rw-r--r--forefront/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/forefront/__init__.py b/forefront/__init__.py
index 30aae844..03f24729 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: