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)