mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-05-18 06:55:38 +02:00
performance - not splitting again and again with new line
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user