Skip to content

Commit

Permalink
use dummy only for email configs
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosp420 committed May 9, 2017
1 parent b8924e3 commit e9c43e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manolo/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@


def get_secret(setting, secrets=secrets):
if sys.argv[1] == "test":
if sys.argv[1] == "test" and setting.startswith("EMAIL_"):
return "dummy value"
try:
return secrets[setting]
Expand Down

0 comments on commit e9c43e7

Please sign in to comment.