git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Email sent to a list of recipients, bug fixed list in a list
[myslice.git]
/
portal
/
contactview.py
diff --git
a/portal/contactview.py
b/portal/contactview.py
index
95fb44e
..
44c151c
100644
(file)
--- a/
portal/contactview.py
+++ b/
portal/contactview.py
@@
-50,7
+50,7
@@
class ContactView (FreeAccessView, ThemeView):
else:
sender = email
else:
sender = email
- msg = EmailMultiAlternatives(subject, text_content, sender,
[recipients]
)
+ msg = EmailMultiAlternatives(subject, text_content, sender,
recipients
)
msg.attach_alternative(html_content, "text/html")
msg.send()
except Exception, e:
msg.attach_alternative(html_content, "text/html")
msg.send()
except Exception, e: