Remove trailing new line
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler Perkins 2023-11-13 20:29:53 -05:00
parent 2cc1fcd918
commit 5f04f2f98f
1 changed files with 1 additions and 1 deletions

View File

@ -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():