Skip to content

Commit

Permalink
fix: UnsupportedPlatform exception on Windows 11 and Python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
TransparentLC committed Nov 2, 2023
1 parent 0c09c6b commit bdc0749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notifypy/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def _selected_notification_system(

return MacOSNotifier
elif selected_platform == "Windows":
if platform.release() == "10":
if platform.release() in {"10", "11"}:
from .os_notifiers.windows import WindowsNotifier

return WindowsNotifier
Expand Down

0 comments on commit bdc0749

Please sign in to comment.