-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: WindowsNotifier.__init__() got an unexpected keyword argument 'default_application_name' #46
Comments
Is there a temporary fix for this? |
I'll push out a fix for this, but a quick way to fix this is to use the |
You can pass |
I'm not near a windows computer to verify but you should be able to do something like this: from notifypy.os_notifiers.windows import WindowsNotifier
WindowsNotifier().send_notification(
notification_title="Sample Title",
notification_subtitle="Sample Subtitle",
notification_icon="path_to_icon.ico",
application_name="Goat IM",
notification_audio="path_to_audio.mp3",
) lmk if it works out for you. |
Might be an issue with the latest versions of Windows -- I won't be back near my desk until the end of the day. I'll take a look at then. |
So i tried it on win 10 21H2 and win 11 21H2 but it doesn't work on both. |
Changing Code looks like:
In the README.md file the example used default_application_name, this give me an error as well. |
I tried this code but it doen't work.
The text was updated successfully, but these errors were encountered: