From 1eb4a17ea5ccda2abcdafb005d127cadd0caf83c Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Sat, 7 Jun 2025 18:11:03 +0200 Subject: [PATCH] print -> log --- slic/gui/widgets/alarm.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slic/gui/widgets/alarm.py b/slic/gui/widgets/alarm.py index b7e2194fd..6a0992446 100644 --- a/slic/gui/widgets/alarm.py +++ b/slic/gui/widgets/alarm.py @@ -1,4 +1,5 @@ import wx +from logzero import logger as log try: @@ -9,7 +10,7 @@ try: dbn = DBusNotify() icon = get_icon_path() except Exception as e: - print("could not set up DBusNotify:", e) + log.warning(f"could not set up DBusNotify: {e}") dbn = None