From 5a587e7e109e9025ab37a4d2d26e391772672647 Mon Sep 17 00:00:00 2001 From: tr1x_em Date: Sun, 3 Aug 2025 12:38:37 +0530 Subject: [PATCH] Bugfix --- modules/notification/notification.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/notification/notification.py b/modules/notification/notification.py index 896dfce..6fea633 100644 --- a/modules/notification/notification.py +++ b/modules/notification/notification.py @@ -211,13 +211,10 @@ class NotificationWidget(Box): def get_pixbuf(self, icon_path, width, height): if icon_path.startswith("file://") and os.path.exists(icon_path): icon_path = icon_path[7:] - else: - icon_path = get_relative_path("../../config/assets/icons/notification.png") - logger.warning(f"Invalid icon path: {icon_path}") if not os.path.exists(icon_path): logger.warning(f"Icon path does not exist: {icon_path}") - return None + icon_path = get_relative_path("../../config/assets/icons/notification.png") try: pixbuf = GdkPixbuf.Pixbuf.new_from_file(icon_path)