Skip to content

Commit

Permalink
Merge 5a840e0 into 972efec
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Paz committed Jul 3, 2018
2 parents 972efec + 5a840e0 commit 99e2ef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bothub/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
default='webmaster@localhost')
SERVER_EMAIL = config('SERVER_EMAIL', default='root@localhost')

if not DEBUG and envvar_EMAIL_HOST:
if envvar_EMAIL_HOST:
EMAIL_HOST = envvar_EMAIL_HOST
EMAIL_PORT = config('EMAIL_PORT', default=25, cast=int)
EMAIL_HOST_USER = config('EMAIL_HOST_USER', default='')
Expand Down

0 comments on commit 99e2ef3

Please sign in to comment.