Commit 2b5d0569 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

history: when running under from/to value dates restrictions, wipe the empty entries

It does not make sense to expose them.
parent 5096a16c5d40
......@@ -269,7 +269,10 @@ class timeseries(SeriesServices):
for idate, ts in series
]
return dict(series)
return {
idate: ts
for idate, ts in series if len(series)
}
@tx
def staircase(self, cn, seriename, delta,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment