From 622177c714c48f5ab42bb059df433b880f122f62 Mon Sep 17 00:00:00 2001 From: True Syanic YT <94116695+fspofficial@users.noreply.github.com> Date: Wed, 2 Aug 2023 12:38:48 +0530 Subject: [PATCH] Fix __init__.py Fixed- WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType) --- win10toast/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win10toast/__init__.py b/win10toast/__init__.py index 8ed1bc5..770f213 100644 --- a/win10toast/__init__.py +++ b/win10toast/__init__.py @@ -153,5 +153,5 @@ def on_destroy(self, hwnd, msg, wparam, lparam): Shell_NotifyIcon(NIM_DELETE, nid) PostQuitMessage(0) - return None + return 0 # Error fixed (WNDPROC return value cannot be converted to LRESULT TypeError: WPARAM is simple, so must be an int object (got NoneType))