diff --git a/data/weather.py b/data/weather.py index 79a3ff1..edb2bdf 100644 --- a/data/weather.py +++ b/data/weather.py @@ -43,8 +43,8 @@ def get_precipitation_summary(retry=True): '

[시간대별 강수량]

', '', '', - '', - '', + '', + '', '' ] @@ -54,11 +54,11 @@ def get_precipitation_summary(retry=True): if 900 < int(time) < 2300: mm = parse_precip(item['fcstValue']) time_str = f"{time[:2]}:{time[2:]}" # '11:00' - lines.append(f'') + lines.append(f'') total_rainfall += mm + lines.append(f'') lines.append('
시간강수량시간강수량
{time_str}{mm}mm
{time_str}{mm}mm
영업시간 중 총 예상 강수량: {total_rainfall:.1f}mm
') - lines.append(f'

영업시간 중 총 예상 강수량: {total_rainfall:.1f}mm

') return ''.join(lines)