mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 16:22:57 -07:00
Show missing pyobjc module message on MacOS menu bar setting
This commit is contained in:
parent
451feda86b
commit
89307dad01
4 changed files with 19 additions and 12 deletions
|
@ -21,10 +21,14 @@ import sys
|
|||
import plistlib
|
||||
|
||||
try:
|
||||
import rumps
|
||||
has_rumps = True
|
||||
import AppKit
|
||||
import Foundation
|
||||
HAS_PYOBJC = True
|
||||
except ImportError:
|
||||
has_rumps = False
|
||||
HAS_PYOBJC = False
|
||||
|
||||
if HAS_PYOBJC:
|
||||
import rumps
|
||||
|
||||
import plexpy
|
||||
if plexpy.PYTHON2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue