diff options
| author | alzalia1 <alzalia436@gmail.com> | 2024-07-11 14:08:27 +0200 |
|---|---|---|
| committer | alzalia1 <alzalia436@gmail.com> | 2024-07-11 14:08:27 +0200 |
| commit | 3301c62d9571b52b53d70202c30422a22fa6b54b (patch) | |
| tree | ca05a9986f2b8a46da87822c447116b1d03e1f33 /config/hypr/UserScripts/Weather.py | |
| parent | c314624196ada2ec5c17f1335226990a7644320d (diff) | |
fix: fix bug on Weather.py reversing min/max temp
Diffstat (limited to 'config/hypr/UserScripts/Weather.py')
| -rwxr-xr-x | config/hypr/UserScripts/Weather.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index 1d2ea30b..c0a40fd7 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -63,12 +63,12 @@ temp_feel_text = f"Feels like {temp_feel}c" # min-max temperature temp_min = ( html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']") - .eq(0) + .eq(1) .text() ) temp_max = ( html_data("div[data-testid='wxData'] > span[data-testid='TemperatureValue']") - .eq(1) + .eq(0) .text() ) temp_min_max = f"ī {temp_min}\t\tī {temp_max}" |
