We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d036ee2 commit 38e8deaCopy full SHA for 38e8dea
lib/python/Components/About.py
@@ -157,8 +157,6 @@ def getCPUInfoString():
157
# break # Without this break the code returns the last line containing the string!
158
cpuSpeedStr = _("%s GHz") % format_string("%.1f", cpuSpeedMhz / 1000) if cpuSpeedMhz and cpuSpeedMhz >= 1000 else _("%d MHz") % int(cpuSpeedMhz)
159
if temperature:
160
- if not isinstance(temperature, str):
161
- temperature = temperature.encode("UTF-8", errors="ignore")
162
if isinstance(temperature, float):
163
temperature = format_string("%.1f", temperature)
164
else:
0 commit comments