From 09f273524441e5f9e800b101e692212b9b7d8248 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Thu, 20 Jun 2024 22:51:17 -0700 Subject: [PATCH] Update locationdata.py --- locationdata.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/locationdata.py b/locationdata.py index 81033c3..fc7a147 100644 --- a/locationdata.py +++ b/locationdata.py @@ -99,10 +99,6 @@ def get_weather(lat=0, lon=0): weather += line + "\n" #trim off last newline weather = weather[:-1] - #trim to 200 characters and trim to the last space - if len(weather) > 200: - weather = weather[:200] - weather = weather[:weather.rfind(" ")] return weather