From 43d465ca22896d303d58560cb455ae6c31204425 Mon Sep 17 00:00:00 2001 From: Ade Date: Sat, 13 Oct 2018 18:13:53 +1300 Subject: [PATCH] OSX notify import fix --- headphones/notifiers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/notifiers.py b/headphones/notifiers.py index 188f9db7..15e5e310 100644 --- a/headphones/notifiers.py +++ b/headphones/notifiers.py @@ -861,7 +861,7 @@ class OSX_NOTIFY(object): self.AppKit = __import__("AppKit") except: logger.warn('OS X Notification: Cannot import objc or AppKit') - return False + pass def swizzle(self, cls, SEL, func): old_IMP = getattr(cls, SEL, None)