fnp
/
edumed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
613d0f4
)
pep8
author
Jan Szejko
<janek37@gmail.com>
Wed, 7 Nov 2018 14:07:13 +0000
(15:07 +0100)
committer
Jan Szejko
<janek37@gmail.com>
Wed, 7 Nov 2018 14:07:13 +0000
(15:07 +0100)
wtem/management/commands/__init__.py
patch
|
blob
|
history
diff --git
a/wtem/management/commands/__init__.py
b/wtem/management/commands/__init__.py
index
ce7191f
..
7fe1eba
100644
(file)
--- a/
wtem/management/commands/__init__.py
+++ b/
wtem/management/commands/__init__.py
@@
-11,8
+11,8
@@
def send_mail(subject, body, to):
if reply_to:
headers['Reply-To'] = reply_to
if reply_to:
headers['Reply-To'] = reply_to
- email = EmailMessage(subject, body,
+ email = EmailMessage(
+ subject, body,
getattr(settings, 'WTEM_FROM', 'olimpiada@nowoczesnapolska.org.pl'),
getattr(settings, 'WTEM_FROM', 'olimpiada@nowoczesnapolska.org.pl'),
- to, headers = headers)
- #print email.message()
- email.send(fail_silently = False)
+ to, headers=headers)
+ email.send()