def get_cpu_tempfunc():
    """ Return CPU temperature """
    result = 0
    mypath = '/sys/class/thermal/thermal_zone0/temp'
    with open(mypath, 'r') as mytmpfile:
        for line in mytmpfile:
            result = line
    result = float(result) / 1000
    result = round(result, 1)
    return str(result)
