Glances 3.2.0 and influxdb export - Missing network data #1893

This commit is contained in:
nicolargo 2021-07-09 09:06:16 +02:00
parent 4d1ec281a3
commit 5daa2a8282
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class Export(GlancesExport):
for k in fields:
# Do not export empty (None) value
if fields[k] is None:
fields.pop(k)
continue
# Convert numerical to float
try:
fields[k] = float(fields[k])

View File

@ -112,7 +112,7 @@ class Export(GlancesExport):
for k in fields:
# Do not export empty (None) value
if fields[k] is None:
fields.pop(k)
continue
# Convert numerical to float
try:
fields[k] = float(fields[k])