返回提交历史
Modified
gpt4free/usesless/__init__.py
+1
-5
XFEstudio/gpt4free
Changed the first solution of error __init__.py
Tried another approach that perfectly fits the logic of [@ezerinz's](https://github.com/ezerinz) email confirmation code
1a354adf
代码差异
1 个文件
+1
-5
@@ -52,14 +52,10 @@ class Account:
52
52
quit()
53
53
54
54
while True:
55
time.sleep(5)
55
56
messages = mail_client.message_list()
56
57
# Check if method `message_list()` didn't return None or empty list.
58
57
if not messages or len(messages) == 0:
59
# If it returned None or empty list sleep for 5 seconds to wait for new message.
60
time.sleep(5)
61
58
continue
62
63
59
message_id = mail_client.message_list()[0]["id"]
64
60
message = mail_client.message(message_id)
65
61
verification_url = re.findall(