diff options
| -rwxr-xr-x | config/hypr/UserScripts/Weather.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index c962ecd3..efa96813 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -88,7 +88,7 @@ temp_max = ( temp_min_max = f" {temp_min}\t\t {temp_max}" # wind speed -wind_speed = html_data("span[data-testid='Wind']").text().split("\n")[0] +wind_speed = str(html_data("span[data-testid='Wind'] > span").text()) wind_text = f" {wind_speed}" # humidity |
