forked from rc/aircox
make it working
This commit is contained in:
parent
7a0481c60c
commit
7d315ea002
|
@ -303,7 +303,7 @@ class Station(Nameable):
|
||||||
next_log = logs.filter(pk__gt = partial.pk).first()
|
next_log = logs.filter(pk__gt = partial.pk).first()
|
||||||
if not next_log or next_log.date > diff.end:
|
if not next_log or next_log.date > diff.end:
|
||||||
partial.date = diff.end
|
partial.date = diff.end
|
||||||
logs_ = list(logs_[:count]) + [partial]
|
logs_ = list(logs_) + [partial]
|
||||||
|
|
||||||
# append to list
|
# append to list
|
||||||
diff_ = diff
|
diff_ = diff
|
||||||
|
|
Loading…
Reference in New Issue
Block a user