summaryrefslogtreecommitdiffstats
path: root/quora/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-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)