debug Adis-TS

This commit is contained in:
Theophile Terraz committed 2025-01-16 15:03:52 +01:00
1 parent 2e2f054a4f
commit 230712c3ea
4 files changed
+8 -5

No files matched your search

+2 -2
View File
@@ -128,7 +128,7 @@ class Pollutants(SQLSubModel):
if table is not None:
for t in table:
new_data = t[1:]
new_data = t[1:-1]
new_pollutant._data.append(new_data)
@@ -182,7 +182,7 @@ class Pollutants(SQLSubModel):
print("from_data before : ", data)
try:
new = [int(data[0])]
new += [float(d) for d in data[1:-1]]
new += [float(d) for d in data[1:]]
except Exception as e:
logger.error(e)
new = None