mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-19 18:15:31 +01:00
OSX notify import fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user