Hotfix.
This commit is contained in:
parent
c274fc4a65
commit
51a7acb765
2 changed files with 3 additions and 3 deletions
|
@ -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"},
|
||||
]
|
||||
|
|
|
@ -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?")
|
||||
|
|
Loading…
Reference in a new issue