changed mail subject prefix

This commit is contained in:
Ronald Schaten 2013-03-18 21:08:47 +01:00
parent 9ca1f39628
commit d6ca5b783c

View File

@ -119,7 +119,7 @@ class Entry(Base):
if entry.has_key('summary'):
self.summary = entry.get('summary').encode('latin-1', 'replace')
#if entry.has_key('content'):
#self.content = entry.get('content')
# self.content = entry.get('content')
if entry.has_key('author'):
self.author = entry.get('author').encode('latin-1', 'replace')
if entry.has_key('updated_parsed'):
@ -164,7 +164,7 @@ def mail_daily_digest(session):
def mail_single_entry(feed, feedinfo, entry):
sender = feedinfo.title
subject = entry.title
subject = '[atomstrom] %s' % entry.title
body = get_entry_text(entry)
body = body + '\n\n'
body = body + 'site: [%s]\n' % feedinfo.link