Skip to content

Commit f937c3e

Browse files
committed
fix: mistake in get_temp_path() solved
1 parent 24dd06d commit f937c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel_tuner/observers/tegra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_temp_path(self):
5555
with open(zone / Path("type")) as fp:
5656
name = fp.read().strip()
5757
if name == "GPU-therm":
58-
gpu_temp_path = zone + "/"
58+
gpu_temp_path = str(zone) + "/"
5959
break
6060
else:
6161
raise FileNotFoundError("No GPU sensor for temperature found")

0 commit comments

Comments
 (0)