summaryrefslogtreecommitdiff
path: root/waterspout_radar/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'waterspout_radar/web.py')
-rw-r--r--waterspout_radar/web.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waterspout_radar/web.py b/waterspout_radar/web.py
index f43d2c0..332c533 100644
--- a/waterspout_radar/web.py
+++ b/waterspout_radar/web.py
@@ -8,5 +8,5 @@ config = _config.load(_config.effective_pathname())
@app.route("/")
def predictions():
- predictions = sorted(_storage.Storage(config.db), key=lambda x: (x.time, x.swi))
+ predictions = sorted(_storage.Storage(config.db), key=lambda x: (x.time, x.made))
return flask.render_template("predictions.html", predictions=predictions)