두 번째 줄이 너무 크게 표시되는 부분 수정, 제목을 {[날짜]} 날씨 정보 로 표시하던 부분을 {날짜} 날씨정보 로 수정함.

This commit is contained in:
2025-07-04 15:55:41 +09:00
parent 1ff9df2a8e
commit 038a336f42

View File

@ -166,7 +166,7 @@ def main():
# 무료입장 조건에 대해서만 안내함. # 무료입장 조건에 대해서만 안내함.
MAIN["content"] = """ MAIN["content"] = """
<p>Rainy Day 이벤트 적용안내</p> <p>Rainy Day 이벤트 적용안내</p>
<p><font size="16"><b>10:00 ~ 22:00까지의 예보를 합산하며, ~1mm인 경우 0.5mm로 계산합니다.</b></font></p> <p><b>10:00 ~ 22:00까지의 예보를 합산하며, ~1mm인 경우 0.5mm로 계산합니다.</b></p>
""" """
today = datetime.today().strftime('%Y%m%d') today = datetime.today().strftime('%Y%m%d')
@ -181,7 +181,7 @@ def main():
return return
FTP_CONFIG['UPLOAD_DIR'] = f"/www/data/file/{MAIN['board']}/" FTP_CONFIG['UPLOAD_DIR'] = f"/www/data/file/{MAIN['board']}/"
MAIN['subject'] = f"[{datetime.now().strftime('%Y-%m-%d')}] 날씨 정보" MAIN['subject'] = f"{datetime.now().strftime('%Y-%m-%d')} 날씨정보"
MAIN['file1'] = thumb_file MAIN['file1'] = thumb_file
MAIN['file2'] = weather_file MAIN['file2'] = weather_file