# HG changeset patch # User dirk # Date 1314578484 -7200 # Node ID 7d724cf2dcf7868e74aa0f0fb3c35af4f322af25 # Parent e8bb107a74e1e7f71a5ed8637e3d9b2c100c7480 after a feed update, calculate a feed's update date from the current date, not the original next update date diff -r e8bb107a74e1 -r 7d724cf2dcf7 backend/couchdb/Feed.py --- a/backend/couchdb/Feed.py Mon Aug 29 02:33:51 2011 +0200 +++ b/backend/couchdb/Feed.py Mon Aug 29 02:41:24 2011 +0200 @@ -22,7 +22,7 @@ def incrementNextUpdateDate(self): updateInterval = self._updateIntervalInSeconds() delta = timedelta(seconds=updateInterval) - self.next_update = self.next_update + delta + self.next_update = datetime.now() + delta def _updateIntervalInSeconds(self): return self.update_interval * 60