diff --git a/services/posture-check/weather-day-report.py b/services/posture-check/weather-day-report.py index 903794c..cb40f62 100644 --- a/services/posture-check/weather-day-report.py +++ b/services/posture-check/weather-day-report.py @@ -127,7 +127,7 @@ def read_token(token_file: str) -> str: if token: return token try: - with open(token_file, "r", encoding="utf-8") as handle: + with open(token_file, "r", encoding="utf-8-sig") as handle: token = handle.read().strip() except FileNotFoundError as exc: raise WeatherReportError(