aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2012-11-05 08:02:09 +0100
committercedricbonhomme <devnull@localhost>2012-11-05 08:02:09 +0100
commit0a7006d208efd3cde121a48ebe4774a3267ccc26 (patch)
treec2691059867f91c4beb0a5c14ee65f8f20e6f2c4 /source/pyAggr3g470r.py
parentUpdated version to 3.5 in index.rst. (diff)
downloadnewspipe-0a7006d208efd3cde121a48ebe4774a3267ccc26.tar.gz
newspipe-0a7006d208efd3cde121a48ebe4774a3267ccc26.tar.bz2
newspipe-0a7006d208efd3cde121a48ebe4774a3267ccc26.zip
mark_as_read() always return to index page.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-xsource/pyAggr3g470r.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py
index 2fac78e0..83834853 100755
--- a/source/pyAggr3g470r.py
+++ b/source/pyAggr3g470r.py
@@ -992,10 +992,7 @@ class pyAggr3g470r(object):
# Mark an article as read.
elif param == "Article":
self.mongo.mark_as_read(True, identifiant.split(':')[1], identifiant.split(':')[0])
- if param == "" or param == "Feed_FromMainPage":
- return self.index()
- elif param == "Feed":
- return self.articles(identifiant)
+ return self.index()
mark_as_read.exposed = True
bgstack15