Skip to content

Commit 67dacb8

Browse files
authored
Merge pull request #55 from TransparentLC/TransparentLC-patch-1
fix: UnsupportedPlatform exception on Windows 11 and Python 3.12
2 parents 0c09c6b + bdc0749 commit 67dacb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notifypy/notify.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _selected_notification_system(
110110

111111
return MacOSNotifier
112112
elif selected_platform == "Windows":
113-
if platform.release() == "10":
113+
if platform.release() in {"10", "11"}:
114114
from .os_notifiers.windows import WindowsNotifier
115115

116116
return WindowsNotifier

0 commit comments

Comments
 (0)