diff --git a/src/routers/weather.py b/src/routers/weather.py index 7346fd3..742a6a4 100644 --- a/src/routers/weather.py +++ b/src/routers/weather.py @@ -34,7 +34,7 @@ def getWeather(location: str = "Stow") -> str: weather = requests.get(f"https://wttr.in/{location}?format=1") last_checked_time = datetime.now() - return weather.content; + return weather.content.replace(b"\n",b""); @router.get("/now") def get_weather_now_in_stow():