mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
Restore spacing around float in nodesensors
The managed formatting needs to be padded in the non-csv output.
This commit is contained in:
parent
872718c658
commit
ff025989c6
@ -141,7 +141,7 @@ def sensorpass(showout=True, appendtime=False):
|
||||
if sensedata['value'] is None:
|
||||
showval = ''
|
||||
elif isinstance(sensedata['value'], float):
|
||||
showval = floatformat(sensedata['value'])
|
||||
showval = u' {0} '.format(floatformat(sensedata['value']))
|
||||
else:
|
||||
showval = u' {0} '.format(sensedata['value'])
|
||||
if sensedata['units'] not in (None, u''):
|
||||
|
Loading…
Reference in New Issue
Block a user