When the script fails to find the CPU temperature, temperature_cpu()
returns a string when a float is expected.  Added a try/except to handle.