projects
/
EVA-2020-02-2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' of git://github.com/topshed/enviroplus-python into topshed...
[EVA-2020-02-2.git]
/
examples
/
luftdaten.py
diff --git
a/examples/luftdaten.py
b/examples/luftdaten.py
index 27478c590c06088cea81334723a92417de559359..77a6d820d70e327d7affc3ed5f4a887eab19ba02 100755
(executable)
--- a/
examples/luftdaten.py
+++ b/
examples/luftdaten.py
@@
-74,6
+74,7
@@
def read_values():
def get_cpu_temperature():
process = Popen(['vcgencmd', 'measure_temp'], stdout=PIPE)
output, _error = process.communicate()
+ output = output.decode()
return float(output[output.index('=') + 1:output.rindex("'")])