Skip to content

Commit

Permalink
force smtp port to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
aSauerwein committed Jun 25, 2024
1 parent 9badfc5 commit dbed7a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ ENABLE_EMAIL_EXPORT=False
EMAIL_FROM='[email protected]'
EMAIL_TO='[email protected]'
EMAIL_SERVER='mail.example.com'
EMAIL_SERVER_PORT='587'
EMAIL_SERVER_PORT=587
EMAIL_USER='[email protected]'
EMAIL_PASS='somesecretpassword!'
2 changes: 1 addition & 1 deletion download_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
EMAIL_FROM = os.environ.get("EMAIL_FROM", "")
EMAIL_TO = os.environ.get("EMAIL_TO", "")
EMAIL_SERVER = os.environ.get("EMAIL_SERVER", "")
EMAIL_SERVER_PORT = os.environ.get("EMAIL_SERVER_PORT", "587")
EMAIL_SERVER_PORT = int(os.environ.get("EMAIL_SERVER_PORT", "587"))
EMAIL_USER = os.environ.get("EMAIL_USER", "")
EMAIL_PASS = os.environ.get("EMAIL_PASS", "")

Expand Down

0 comments on commit dbed7a2

Please sign in to comment.