Commits

Jason R. Coombs committed 3e5b956 Draft

Fix for seen feeds being reported multiple times

Comments (0)

Files changed (1)

 				repeat = True,
 				)(self.parse_feed)
 		timer = timing.Stopwatch()
-		self.seen_feeds = self.store.get_seen_feeds()
+		self.seen_feeds = set(self.store.get_seen_feeds())
 		log.info("Loaded feed history in %s", timer.split())
 		pmxbot._finalizers.append(self.finalize)
 
 		"""
 		if entry in self.seen_feeds:
 			return False
+		self.seen_feeds.add(entry)
 		try:
 			self.store.add_entries([entry])
 		except Exception: