summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlan Aitbay <69082498+enganese@users.noreply.github.com>2023-05-24 17:36:04 +0200
committerGitHub <noreply@github.com>2023-05-24 17:36:04 +0200
commitd34d7d51198af44aa8195494e99aa60f1a1940de (patch)
treedf7b1acbefd40e9b8055c8694c6f015ce7a1d83a
parentChanged the first solution of error __init__.py (diff)
downloadgpt4free-d34d7d51198af44aa8195494e99aa60f1a1940de.tar
gpt4free-d34d7d51198af44aa8195494e99aa60f1a1940de.tar.gz
gpt4free-d34d7d51198af44aa8195494e99aa60f1a1940de.tar.bz2
gpt4free-d34d7d51198af44aa8195494e99aa60f1a1940de.tar.lz
gpt4free-d34d7d51198af44aa8195494e99aa60f1a1940de.tar.xz
gpt4free-d34d7d51198af44aa8195494e99aa60f1a1940de.tar.zst
gpt4free-d34d7d51198af44aa8195494e99aa60f1a1940de.zip
-rw-r--r--gpt4free/usesless/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpt4free/usesless/__init__.py b/gpt4free/usesless/__init__.py
index ee59e67f..1192192e 100644
--- a/gpt4free/usesless/__init__.py
+++ b/gpt4free/usesless/__init__.py
@@ -56,7 +56,7 @@ class Account:
messages = mail_client.message_list()
if not messages or len(messages) == 0:
continue
- message_id = mail_client.message_list()[0]["id"]
+ message_id = messages[0]["id"]
message = mail_client.message(message_id)
verification_url = re.findall(
r"http:\/\/ai\.usesless\.com\/api\/cms\/auth\/email-confirmation\?confirmation=\w.+\w\w",