diff options
author | Aki <please@ignore.pl> | 2023-04-08 01:11:49 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-04-08 01:11:49 +0200 |
commit | e3774e25c7e6afd415f3a64843a416047efa629b (patch) | |
tree | 7ebd72e7c60cfcd3ce58ba6101eb1c5aed188a28 /waterspout_radar/web.py | |
parent | d7e9b83def504b352b25bb1432a6621e720fb4cd (diff) | |
download | waterspout-radar-master.zip waterspout-radar-master.tar.gz waterspout-radar-master.tar.bz2 |
Diffstat (limited to 'waterspout_radar/web.py')
-rw-r--r-- | waterspout_radar/web.py | 2 |
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) |