aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/crawler.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/crawler.py')
-rw-r--r--pyaggr3g470r/crawler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/crawler.py b/pyaggr3g470r/crawler.py
index 661eddf0..dade3bea 100644
--- a/pyaggr3g470r/crawler.py
+++ b/pyaggr3g470r/crawler.py
@@ -244,7 +244,7 @@ class FeedGetter(object):
for element in articles:
article = Article.query.filter(Article.user_id == self.user.id, Article.link == element.link).first()
try:
- fastsearch.add_to_index([article], article.source)
+ fastsearch.add_to_index(self.user.id, [article], article.source)
except:
pyaggr3g470r_log.error("Problem during indexation.")
return True \ No newline at end of file
bgstack15