Compare commits

...

2 commits

Author SHA1 Message Date
Emma Nora Theuer
22ae8e095f Clean up whitespace and comments 2024-06-09 21:38:08 +02:00
Emma Nora Theuer
8592c226e7 Update version number 2024-06-09 21:37:53 +02:00
2 changed files with 2 additions and 4 deletions

View file

@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "wallman"
version = "1.3.3.0"
version = "1.3.3.1"
authors = [
{name = "Emma Nora Theuer", email = "wallman@entheuer.de"},
]

View file

@ -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.")