diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-12-01 23:43:12 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-12-01 23:43:12 +0100 |
commit | e5677b163b88d12ce7a94f03cb61ada236a5dd2b (patch) | |
tree | b1d5b7ccee68ab3c766d3506c531963c340598e4 /pyaggr3g470r/search.py | |
parent | The /feeds page has benn slightly updated. (diff) | |
download | newspipe-e5677b163b88d12ce7a94f03cb61ada236a5dd2b.tar.gz newspipe-e5677b163b88d12ce7a94f03cb61ada236a5dd2b.tar.bz2 newspipe-e5677b163b88d12ce7a94f03cb61ada236a5dd2b.zip |
Minor improvements for the /search page.
Diffstat (limited to 'pyaggr3g470r/search.py')
-rw-r--r-- | pyaggr3g470r/search.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/search.py b/pyaggr3g470r/search.py index 4a8df1d9..4b8602f7 100644 --- a/pyaggr3g470r/search.py +++ b/pyaggr3g470r/search.py @@ -111,7 +111,7 @@ def search(term): results = searcher.search(query, limit=None) for article in results: result_dict[article["feed_id"]].append(article["article_id"]) - return result_dict + return result_dict, len(results) def nb_documents(): """ |