changeset 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 be990ac6e478
children 03358c113170
files FeedUpdater.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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):