diff options
-rw-r--r-- | pyaggr3g470r/views/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pyaggr3g470r/views/views.py b/pyaggr3g470r/views/views.py index 658276c0..1b834d0e 100644 --- a/pyaggr3g470r/views/views.py +++ b/pyaggr3g470r/views/views.py @@ -440,6 +440,7 @@ def inactives(): elapsed = today - last_post if elapsed > datetime.timedelta(days=nb_days): inactives.append((feed, elapsed)) + inactives.sort(key=lambda tup: tup[1], reverse=True) return render_template('inactives.html', inactives=inactives, nb_days=nb_days) @app.route('/duplicates/<int:feed_id>', methods=['GET']) |