changeset 45:10bde12a9163 v0.2.2

duh don't convert k to k
author Paul Fisher <paul@pfish.zone>
date Tue, 01 Apr 2025 16:30:55 -0400
parents 4ef6854446fe
children 74b57044b2bd
files weather_server/types.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/weather_server/types.py	Tue Apr 01 16:29:14 2025 -0400
+++ b/weather_server/types.py	Tue Apr 01 16:30:55 2025 -0400
@@ -48,7 +48,7 @@
     
     @property
     def temp_k(self) -> float:
-        return c_to_k(self.temp_k)
+        return c_to_k(self.temp_c)
 
     @property
     def dew_point_c(self) -> float: