fixed sending of single mails

This commit is contained in:
Ronald Schaten 2013-03-22 20:47:20 +01:00
parent db5e4e3515
commit 0e9896f264

View File

@ -223,7 +223,7 @@ def mail_single_entries(session, sender, receiver, prefix):
filter(Feed.id == Feedinfo.feed_id).\
filter(Feed.id == Entry.feed_id).\
filter(Feed.enabled == 1).\
filter(Feed.daily == 0).\
filter(Feed.daily == 0 or Feed.daily == None).\
filter(Entry.sent == None).\
all()
for feed, feedinfo, entry in entries: