diff --git a/backend/services/feed_service.py b/backend/services/feed_service.py index cb0f904..b1f72ec 100644 --- a/backend/services/feed_service.py +++ b/backend/services/feed_service.py @@ -30,7 +30,7 @@ from services.calc.index_calc import rank_score from services.calc.moon import MoonNight, nearest, night, view_line from services.calc.sky_score import GRADE_LABEL, sky_title from services.calc.sun import sun_times -from services.hero_stats import UV_HIGH, HeroInput, hero_stats, uv_label, uv_level +from services.hero_stats import UV_HIGH, HeroInput, hero_stats, uv_label from services.index_service import IndexBoard, IndexItem, IndexService from services.now_service import NowService, NowWeather from services.season_service import SeasonService @@ -627,7 +627,7 @@ class FeedService: return None label = uv_label(top) at = peak.forecast_at.astimezone(KST) - rows = [Row(label=f"{r.forecast_at.astimezone(KST).hour}시", value=uv_label(float(r.uv_index)), level=uv_level(float(r.uv_index))) for r in c.uv] + rows = [Row(label=f"{r.forecast_at.astimezone(KST).hour}시", value=uv_label(float(r.uv_index))) for r in c.uv] when = "점심때" if at.hour == 12 else f"{hour_label(at.hour)} 무렵" todo = "선크림·모자·선글라스 챙기고 그늘로 다녀요" if top >= UV_HIGH else "선크림·모자 챙겨요" line = f"오늘 자외선 지수 {label}\n{when} 나가면 {todo}"