From ca08bc282dcaf2ccdabfd37d5f8d40ff72a90781 Mon Sep 17 00:00:00 2001 From: shmyga Date: Fri, 21 Aug 2026 10:28:08 +0300 Subject: [PATCH] fix(openweather): fix pressure convertation --- gallery/painting/openweather/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gallery/painting/openweather/parser.py b/gallery/painting/openweather/parser.py index 8ee5e23..5211d32 100644 --- a/gallery/painting/openweather/parser.py +++ b/gallery/painting/openweather/parser.py @@ -29,7 +29,7 @@ class ForecastItemParser: # TODO parse temperature interval flag value.temperature = [round(item.main.temp)] # value.temperature = [round(item.main.temp_max), round(item.main.temp_min)] - value.pressure = [round(item.main.pressure / 133.3 * 100)] + value.pressure = [round(item.main.pressure * 0.75006)] value.humidity = item.main.humidity value.wind_speed = round(item.wind.speed) value.wind_gust = round(item.wind.gust)