提交 5daa2a82 编写于 作者: N nicolargo

Glances 3.2.0 and influxdb export - Missing network data #1893

上级 4d1ec281
......@@ -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])
......
......@@ -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])
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册