Permalink
Browse files

fix refresh task from key title error

  • Loading branch information...
1 parent 3d26cd6 commit 175464ebcc7123cce1d756733383224715f97044 Geoffrey Lehée committed Apr 9, 2013
Showing with 3 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +2 −0 leselys/reader.py
View
@@ -43,3 +43,4 @@ tools
requirements.txt
*.db
celerybeat-schedule
+tests/*.xml
View
@@ -47,6 +47,8 @@ def __init__(self, feed, feed_from_db=None, do_retention=True):
self.do_retention = do_retention
if feed_from_db:
self.title = feed_from_db['title']
+ else:
+ self.title = feed['feed']['title']
def run(self):
# This feed comes from database

0 comments on commit 175464e

Please sign in to comment.