~cedric/pyAggr3g470r

0a7006d208efd3cde121a48ebe4774a3267ccc26 — cedricbonhomme 11 years ago 027d8e8
mark_as_read() always return to index page.
1 files changed, 1 insertions(+), 4 deletions(-)

M source/pyAggr3g470r.py
M source/pyAggr3g470r.py => source/pyAggr3g470r.py +1 -4
@@ 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