mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-05 00:01:00 +00:00
Merge pull request #254 from 0dminnimda/don't-output-when-not-needed
Print the mail messages only when logging
This commit is contained in:
commit
7542aac4c1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user