mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 05:01:14 -07:00
Check for Foundation module for MacOS system track icon
* Fixes Tautulli/Tautulli-Issues#249
This commit is contained in:
parent
7f9d46eac3
commit
4390f5cbc8
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ def main():
|
|||
if common.PLATFORM == 'Darwin' and plexpy.CONFIG.SYS_TRAY_ICON:
|
||||
try:
|
||||
import AppKit
|
||||
import Foundation
|
||||
except ImportError:
|
||||
logger.warn("The pyobjc module is missing. Install this "
|
||||
"module to enable the system tray icon.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue