Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gas-prod committed Nov 19, 2022
1 parent fae0131 commit a8136eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Binary file modified __pycache__/contact.cpython-38.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
name = os.getenv("NAME")
phone = os.getenv("PHONE")

if None in [email, app_password, folder, contact_message, name, phone]:
raise ValueError("Vous devez bien creer toutes les variables d'environnements pour que le bot fonctionne. voire variables_a_creer.tkt")

#fonction appelée pour chaque mail non lu à traiter
def on_email(self, msgs):
#msgs est un dictionnaire
Expand Down
File renamed without changes.

0 comments on commit a8136eb

Please sign in to comment.