aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/views/views.py
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-04-11 16:17:25 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2015-04-12 14:31:06 +0200
commit35a5e7466f7b78251eab82a7f6b060361333f206 (patch)
treee68986cde79c0cbd6887460ceb3657b0f7ab53a3 /pyaggr3g470r/views/views.py
parentfirst take on redoing the menu (diff)
downloadnewspipe-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/views/views.py')
-rw-r--r--pyaggr3g470r/views/views.py2
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,
bgstack15