Merged cipy-improved-logging, omitted luftdaten.py for now
authorPhil Howard <phil@gadgetoid.com>
Tue, 20 Aug 2019 15:22:05 +0000 (16:22 +0100)
committerPhil Howard <phil@gadgetoid.com>
Tue, 20 Aug 2019 15:22:05 +0000 (16:22 +0100)
1  2 
examples/compensated-temperature.py
examples/luftdaten.py

Simple merge
index 358d442f364ab70c26c9f9913f101a2418ed77dd,85e3cb26cd0109b5dad28ea43df075cca540a1c5..9995914e23d71144c9f1e99ff11c58f7baaf4e69
@@@ -74,6 -81,6 +74,7 @@@ def read_values()
  def get_cpu_temperature():
      process = Popen(['vcgencmd', 'measure_temp'], stdout=PIPE, universal_newlines=True)
      output, _error = process.communicate()
++    output = output.decode()
      return float(output[output.index('=') + 1:output.rindex("'")])