Remove trailing new line
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2cc1fcd918
commit
5f04f2f98f
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue