diff FeedUpdater.py @ 45:0604e374c1d6

pass session when creating a new feed
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 14 May 2010 15:24:51 +0200
parents aaec263f07ca
children 4b0d686493fb
line wrap: on
line diff
--- a/FeedUpdater.py	Fri May 14 15:02:15 2010 +0200
+++ b/FeedUpdater.py	Fri May 14 15:24:51 2010 +0200
@@ -27,7 +27,7 @@
     session.add(newFeed)
     session.commit()
     
-    FeedUpdater(newFeed).update()
+    FeedUpdater(session, newFeed).update()
     session.commit()
 
 class FeedUpdater(object):