From 22d468e8546f54abd401404d411b97145d4635b2 Mon Sep 17 00:00:00 2001 From: installer Date: Sun, 23 Feb 2025 16:48:35 +0900 Subject: nope.. these 2 does not like $HOME --- config/hypr/UserScripts/Weather.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/hypr/UserScripts/Weather.py') diff --git a/config/hypr/UserScripts/Weather.py b/config/hypr/UserScripts/Weather.py index a2ad98b5..b9efe4e4 100755 --- a/config/hypr/UserScripts/Weather.py +++ b/config/hypr/UserScripts/Weather.py @@ -138,7 +138,7 @@ simple_weather = ( ) try: - with open(os.path.expanduser("$HOME/.cache/.weather_cache"), "w") as file: + with open(os.path.expanduser("~/.cache/.weather_cache"), "w") as file: file.write(simple_weather) except Exception as e: print(f"Error writing to cache: {e}") -- cgit v1.2.3