bug fix, needed if keepafterlastfetch is 0

This commit is contained in:
Ronald Schaten 2013-07-01 10:46:07 +02:00
parent bfe3019eaf
commit 522fc2f7b5

View File

@ -117,6 +117,7 @@ class Feed(Base):
self.entries.append(Entry(entry, self)) self.entries.append(Entry(entry, self))
entries_new += 1 entries_new += 1
print 'updated %d of %d entries' % (entries_new, entries_total) print 'updated %d of %d entries' % (entries_new, entries_total)
session.commit()
self.housekeeper(session) self.housekeeper(session)
session.commit() session.commit()