Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix refresh task from key title error

  • Loading branch information...
commit 175464ebcc7123cce1d756733383224715f97044 1 parent 3d26cd6
Geoffrey Lehée authored
Showing with 3 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +2 −0  leselys/reader.py
View
1  .gitignore
@@ -43,3 +43,4 @@ tools
requirements.txt
*.db
celerybeat-schedule
+tests/*.xml
View
2  leselys/reader.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.