Bugfix: removed debug-code :-/

This commit is contained in:
Ronald Schaten 2013-04-20 15:39:04 +02:00
parent 43e2520773
commit 9bec2c48c2

View File

@ -84,8 +84,8 @@ def mail_daily_digest(session, sender, receiver, prefix):
if prefix != '':
subject = '%s %s' % (prefix, subject)
send_mail(sender, receiver, subject, body)
#for feed, feedinfo, entry in entries:
# entry.sent = datetime.now()
for feed, feedinfo, entry in entries:
entry.sent = datetime.now()
else:
print 'no unmailed digest-entries found... not sending mail.'