From 51a7acb765b91a1a5345c5d48901d1b6a30101e9 Mon Sep 17 00:00:00 2001 From: Emma Nora Theuer Date: Tue, 4 Feb 2025 01:05:53 +0100 Subject: [PATCH] Hotfix. --- pyproject.toml | 2 +- wallman/wallman_lib.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 4e0f995..0281ce2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "wallman" -version = "1.5.1.2" +version = "1.5.1.3" authors = [ {name = "Emma Nora Theuer", email = "wallman@entheuer.de"}, ] diff --git a/wallman/wallman_lib.py b/wallman/wallman_lib.py index 7faedf8..b3c0602 100644 --- a/wallman/wallman_lib.py +++ b/wallman/wallman_lib.py @@ -7,7 +7,7 @@ from apscheduler.schedulers.background import BackgroundScheduler from apscheduler.triggers.cron import CronTrigger from typing import Dict, List -from wallman.wallman_classes import ConfigError, ConfigGeneral, ConfigFile +from wallman_classes import ConfigError, ConfigGeneral, ConfigFile # Setup Logging. NOTE: Declaration as a global variable is necessary to ensure correct functionality across multiple modules. global logger @@ -60,7 +60,7 @@ class _ConfigLib: def _verify_systray_deps(self): from importlib import util - if util.find_spec("pystray") is None or util.find_spec("pillow") is None: + if util.find_spec("pystray") is None or util.find_spec("PIL") is None: logger.error("systray is enabled, but dependencies for the systray couldn't be found. Are pystray and pillow installed?") logger.info("Setting self.config_systray to false.") print("ERROR: systray is enabled, but dependencies for the systray couldn't be found. Are pystray and pillow installed?")