Commit 08e3a857 authored by Aurélien Campéas's avatar Aurélien Campéas
Browse files

insert: bail out if not diff on first insert

parent ad0bb80da365
......@@ -84,6 +84,8 @@ class timeseries(basets):
metadata=metadata,
_insertion_date=_insertion_date
)
if diff is None:
return
# the super call create the initial meta, let's complete it
meta = self.metadata(cn, name)
meta['supervision_status'] = 'handcrafted' if manual else 'unsupervised'
......
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