Skip to content

Commit cceff2c

Browse files
authored
Merge pull request #56 from TheFinalJoke/fix_precipetation
Fix precipetation
2 parents b03d054 + 5f9894e commit cceff2c

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

lib/binary_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
VERSION="0.3.0"
2+
VERSION="0.4.0"
33

44
# Can't put full folders
55
echo "Building the binary"

lib/weather/weather.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def get_wind_deg(self):
196196

197197
@property
198198
def get_precipitation(self):
199-
return self._pop
199+
return self._pop * 100
200200

201201
@property
202202
def get_uv(self):

matrix/weathermatrix.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def __init__(self, matrix, api: Dict, logger) -> None:
2020
self.api = api
2121
self.logger = logger
2222
self.icons = build_weather_icons()
23-
2423
async def poll_api(self) -> Weather:
2524
return Weather(await self.api.run())
2625
def get_temp_color(self, temp):

0 commit comments

Comments
 (0)