From 37b0cb3d0bd540923cd31f2eea38c1739f7d345d Mon Sep 17 00:00:00 2001 From: jlgijsbers Date: Mon, 8 Sep 2003 21:27:16 +0000 Subject: [PATCH] Oops. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1872 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/mailgw.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roundup/mailgw.py b/roundup/mailgw.py index afa9587..23e2943 100644 --- a/roundup/mailgw.py +++ b/roundup/mailgw.py @@ -73,7 +73,7 @@ are calling the create() method to create a new node). If an auditor raises an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.131 2003-09-08 21:18:56 jlgijsbers Exp $ +$Id: mailgw.py,v 1.132 2003-09-08 21:27:16 jlgijsbers Exp $ """ import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri @@ -440,7 +440,7 @@ Emails to Roundup trackers must include a Subject: line! self.db.confirm_registration(otk.group('otk')) subject = 'Your registration to %s is complete' % \ self.instance.config.TRACKER_NAME - sendto = [message.getaddrlist('from')[0][1]] + sendto = message.getaddrlist('from')[0][1] self.mailer.standard_message(sendto, subject, '') return elif hasattr(self.instance.config, 'MAIL_DEFAULT_CLASS') and \ -- 2.30.2