From 7d315ea0022984d76a835a56a45a97166d0aed16 Mon Sep 17 00:00:00 2001 From: bkfox Date: Mon, 9 Jan 2017 16:20:15 +0100 Subject: [PATCH] make it working --- aircox/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aircox/models.py b/aircox/models.py index 0ea5dc9..a7bbd6d 100755 --- a/aircox/models.py +++ b/aircox/models.py @@ -303,7 +303,7 @@ class Station(Nameable): next_log = logs.filter(pk__gt = partial.pk).first() if not next_log or next_log.date > diff.end: partial.date = diff.end - logs_ = list(logs_[:count]) + [partial] + logs_ = list(logs_) + [partial] # append to list diff_ = diff