-
Notifications
You must be signed in to change notification settings - Fork 191
Closed
Description
$ python3 enviroplus-python/examples/all-in-one.py
Displays readings from all of Enviro plus' sensors
Press Ctrl+C to exit!
Traceback (most recent call last):
File "enviroplus-python/examples/all-in-one.py", line 143, in
cpu_temp = get_cpu_temperature()
File "enviroplus-python/examples/all-in-one.py", line 96, in get_cpu_temperature
return float(output[output.index('=') + 1:output.rindex("'")])
TypeError: argument should be integer or bytes-like object, not 'str'
Metadata
Metadata
Assignees
Labels
No labels