Skip to content

Commit

Permalink
Merge pull request #55 from TransparentLC/TransparentLC-patch-1
Browse files Browse the repository at this point in the history
fix: UnsupportedPlatform exception on Windows 11 and Python 3.12
  • Loading branch information
ms7m committed Jun 5, 2024
2 parents 0c09c6b + bdc0749 commit 67dacb8
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 67dacb8

Please sign in to comment.