summaryrefslogtreecommitdiffstats
path: root/quora/__init__.py
diff options
context:
space:
mode:
authort.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-17 01:07:26 +0200
committert.me/xtekky <98614666+xtekky@users.noreply.github.com>2023-04-17 01:07:26 +0200
commitcad2b5a9da84ccb3cd0902909d1c43b821bbfa0b (patch)
tree690889126820ea1b7db68d2c50791fe83a07d618 /quora/__init__.py
parentadd copyright notice (diff)
downloadgpt4free-cad2b5a9da84ccb3cd0902909d1c43b821bbfa0b.tar
gpt4free-cad2b5a9da84ccb3cd0902909d1c43b821bbfa0b.tar.gz
gpt4free-cad2b5a9da84ccb3cd0902909d1c43b821bbfa0b.tar.bz2
gpt4free-cad2b5a9da84ccb3cd0902909d1c43b821bbfa0b.tar.lz
gpt4free-cad2b5a9da84ccb3cd0902909d1c43b821bbfa0b.tar.xz
gpt4free-cad2b5a9da84ccb3cd0902909d1c43b821bbfa0b.tar.zst
gpt4free-cad2b5a9da84ccb3cd0902909d1c43b821bbfa0b.zip
Diffstat (limited to 'quora/__init__.py')
-rw-r--r--quora/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/quora/__init__.py b/quora/__init__.py
index 0a11bb23..c6e5fdc2 100644
--- a/quora/__init__.py
+++ b/quora/__init__.py
@@ -166,6 +166,8 @@ class Account:
mail = Mail(client.proxies)
mail_token = None
_, mail_address = mail.get_mail()
+ if mail_address is None:
+ raise Exception('Error creating mail, please use proxies')
if logging: print('email', mail_address)