From 4d92cf83a75d661f98a3c3fe3b8abade06bb9e2a Mon Sep 17 00:00:00 2001 From: David Bures <12524436+PiDiBi@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:00:38 -0700 Subject: [PATCH] performance - not splitting again and again with new line --- locationdata.py | 1 - 1 file changed, 1 deletion(-) diff --git a/locationdata.py b/locationdata.py index 38d64cb..44595e7 100644 --- a/locationdata.py +++ b/locationdata.py @@ -103,7 +103,6 @@ def get_weather(lat=0, lon=0, unit=0): # shrink the text line = replace_weather(row.text) # only grab a few days of weather - print(f"weather: {index}") weather += line + "\n" if index >= DAYS_OF_WEATHER-1: break