diff weather_server/types.py @ 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 4af79d69b12e
children
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: