diff options
Diffstat (limited to 'pyaggr3g470r/search.py')
-rw-r--r-- | pyaggr3g470r/search.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pyaggr3g470r/search.py b/pyaggr3g470r/search.py index 56aef3f6..4a8df1d9 100644 --- a/pyaggr3g470r/search.py +++ b/pyaggr3g470r/search.py @@ -47,11 +47,10 @@ schema = Schema(title=TEXT(stored=True), \ article_id=TEXT(stored=True), \ feed_id=TEXT(stored=True)) -def create_index(): +def create_index(feeds): """ Creates the index. """ - feeds = models.Feed.objects() if not os.path.exists(indexdir): os.makedirs(indexdir) ix = create_in(indexdir, schema) |