Dropped obsolete .decode()
[EVA-2020-02-2.git] / examples / all-in-one-no-pm.py
index 4d6d4635e196fc05598a4db6eac690b4d6186f4b..ab1a1a76923e15a9940ec2b5aee13ddf6e9064dc 100755 (executable)
@@ -80,7 +80,6 @@ def display_text(variable, data, unit):
 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("'")])