From ff025989c66ead749995d20860b307bdc8daff00 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 16 Mar 2023 17:29:36 -0400 Subject: [PATCH] Restore spacing around float in nodesensors The managed formatting needs to be padded in the non-csv output. --- confluent_client/bin/nodesensors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/nodesensors b/confluent_client/bin/nodesensors index 119df18c..61d4d602 100755 --- a/confluent_client/bin/nodesensors +++ b/confluent_client/bin/nodesensors @@ -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''):