From 9b4d3450eb6c8fdf8cbe177044ede004bb4f1f70 Mon Sep 17 00:00:00 2001 From: Nathan Rennie-Waldock Date: Thu, 20 Apr 2023 14:23:05 +0100 Subject: [PATCH] Windows notifications: Correct WM_DESTROY return value (#863) Signed-off-by: Nathan Rennie-Waldock --- apprise/plugins/NotifyWindows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apprise/plugins/NotifyWindows.py b/apprise/plugins/NotifyWindows.py index b05e2ebb..70f43889 100644 --- a/apprise/plugins/NotifyWindows.py +++ b/apprise/plugins/NotifyWindows.py @@ -142,7 +142,7 @@ class NotifyWindows(NotifyBase): win32gui.Shell_NotifyIcon(win32gui.NIM_DELETE, nid) win32api.PostQuitMessage(0) - return None + return 0 def send(self, body, title='', notify_type=NotifyType.INFO, **kwargs): """