mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Remove codecs getwriter unicode from nodesensors
In nodesensors, things are made into binary strings explicitly, which causes the codecs.getwriter to choke
This commit is contained in:
parent
d1bafa98bb
commit
9798f30ef8
@ -15,7 +15,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import codecs
|
||||
import csv
|
||||
import datetime
|
||||
import optparse
|
||||
@ -35,8 +34,6 @@ if path.startswith('/opt'):
|
||||
|
||||
import confluent.client as client
|
||||
|
||||
sys.stdout = codecs.getwriter('utf8')(sys.stdout)
|
||||
|
||||
sensorcollections = {
|
||||
'all': 'sensors/hardware/all/all',
|
||||
'temperature': 'sensors/hardware/temperature/all',
|
||||
|
Loading…
Reference in New Issue
Block a user