From 22ae8e095f4b9e9336cddf75e3bb7ae8f3a48616 Mon Sep 17 00:00:00 2001 From: Emma Nora Theuer Date: Sun, 9 Jun 2024 21:38:08 +0200 Subject: [PATCH] Clean up whitespace and comments --- src/wallman_lib.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/wallman_lib.py b/src/wallman_lib.py index 8224347..b2e614b 100644 --- a/src/wallman_lib.py +++ b/src/wallman_lib.py @@ -19,8 +19,6 @@ class _ConfigLib: with open("wallman.toml", "rb") as config_file: data = tomllib.load(config_file) return data - # a = list(data["changing_times"].values()) - # print(a[0]) def __init__(self): self.config_file: dict = self._initialize_config() # Full config @@ -39,6 +37,7 @@ class _ConfigLib: self.config_notify = False logger.warning("'notify' is not set in dictionary general in the config file, defaulting to 'false'.") + # Setup logging self._set_log_level() def _set_log_level(self): @@ -183,7 +182,6 @@ class WallpaperLogic(_ConfigLib): logger.info(f"The wallpaper {self.wallpaper_list[self.current_time_range]} has been set.") return True - def _notify_user(self): system("notify-send 'Wallman' 'A new Wallpaper has been set.'") logger.debug("Sent desktop notification.")