Skip to content

Commit

Permalink
send emails in debug_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
fredriksvantes authored Oct 30, 2024
1 parent 274b18b commit 2bf1a63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ def submit():
if Config.DEBUG_MODE:
print(f"Attempt to send email to {to_email}")
print(message.get())
send_email(message)
else:
send_email(message)

Expand Down

0 comments on commit 2bf1a63

Please sign in to comment.