13 Apr
2009
13 Apr
'09
7:50 p.m.
Mark Sapiro wrote:
You could make that
d = {} for sender in msg.get_senders(): if mlist.isMember(sender): d['poster_name'] = mlist.getMemberName(sender) break if msgdata.get('personalize'):
Then you could use %(poster_name)s as a replacement in msg_footer.
Better still, make it
d = {'poster_name': ''} for sender in msg.get_senders(): if mlist.isMember(sender): d['poster_name'] = mlist.getMemberName(sender) break if msgdata.get('personalize'):
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan