안내문 추가

This commit is contained in:
2025-06-27 15:25:46 +09:00
parent 2e6e100c63
commit 73d86b4a8f

View File

@ -40,7 +40,7 @@ def get_precipitation_summary(retry=True):
lines = [
'<div class="weatherinfo" style="max-width: 100%; overflow-x: auto; padding: 10px; box-sizing: border-box;">',
'<h3 style="font-size: 1.8em; text-align: center; margin: 20px 0;">[시간대별 강수량]</h3>',
'<h3 style="font-size: 1.8em; text-align: center; margin: 20px 0;">[시간대별 예상 강수량]</h3>',
'<table style="border-collapse: collapse; width: 100%; max-width: 400px; margin: 0 auto; font-size: 1em;">',
'<thead>',
'<tr>',
@ -61,7 +61,7 @@ def get_precipitation_summary(retry=True):
total_rainfall += mm
lines.append(f'<tr><td colspan="2" style="border: 1px solid #333; padding: 2px;text-align: center; font-weight: bold;">영업시간 중 총 예상 강수량: {total_rainfall:.1f}mm</td></tr>')
lines.append('</tbody></table></div>')
lines.append('</tbody></table><p style="text-align:right; font-size: 0.8em;">08:00 파주 조리읍 기상청 단기예보 기준</div>')
return ''.join(lines)