From 4390f5cbc84e0276726cf88fd8154ef6801d55a0 Mon Sep 17 00:00:00 2001 From: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com> Date: Sat, 13 Jun 2020 14:36:47 -0700 Subject: [PATCH] Check for Foundation module for MacOS system track icon * Fixes Tautulli/Tautulli-Issues#249 --- Tautulli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tautulli.py b/Tautulli.py index f2d9ff37..45a7902b 100755 --- a/Tautulli.py +++ b/Tautulli.py @@ -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.")