Merged cipy-improved-logging, omitted luftdaten.py for now
[EVA-2020-02-2.git] / examples / luftdaten.py
index 358d442f364ab70c26c9f9913f101a2418ed77dd..9995914e23d71144c9f1e99ff11c58f7baaf4e69 100755 (executable)
@@ -74,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("'")])