Strip sensor names in the diagnostic tools
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c0dc68a5c3
commit
b6ec01c1e5
1 file changed
+1
-1
@@ -54,7 +54,7 @@ def charger(dossier):
|
||||
m = {c: _nombre(r[c]) for c in NUM}
|
||||
m["t"] = instant(r["time_utc"])
|
||||
m["pattern_type"] = r["pattern_type"]
|
||||
par.setdefault(r["sensor_name"], {})[m["t"]] = m
|
||||
par.setdefault(r["sensor_name"].strip(), {})[m["t"]] = m # certains exports finissent le nom par un saut de ligne
|
||||
return {s: [d[t] for t in sorted(d)] for s, d in par.items()}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user