diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-04-11 16:17:25 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-04-12 14:31:06 +0200 |
commit | 35a5e7466f7b78251eab82a7f6b060361333f206 (patch) | |
tree | e68986cde79c0cbd6887460ceb3657b0f7ab53a3 /pyaggr3g470r | |
parent | first take on redoing the menu (diff) | |
download | newspipe-35a5e7466f7b78251eab82a7f6b060361333f206.tar.gz newspipe-35a5e7466f7b78251eab82a7f6b060361333f206.tar.bz2 newspipe-35a5e7466f7b78251eab82a7f6b060361333f206.zip |
no redirect from home if no feed has been tfiltered in
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/views/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py index 3d3c47f6..512fdf06 100644 --- a/pyaggr3g470r/views/views.py +++ b/pyaggr3g470r/views/views.py @@ -259,7 +259,7 @@ def home(favorites=False): return url_for('home', filter_=filter_, limit=limit, feed=feed) articles = list(articles) - if not articles and not favorites: + if not articles and not favorites and feed_id: return redirect(gen_url(filter_='all')) return render_template('home.html', gen_url=gen_url, feed_id=feed_id, |