From 5cabbffda818b9eb74c3634dacb328df0375d548 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 22 Sep 2024 17:55:26 +0100 Subject: [PATCH] - removed unused import statements - added macOS specific required library to requirements.txt - conditional import of pygrabber, which is unavailable for macOS --- modules/ui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ui.py b/modules/ui.py index e83c3d0..574ae19 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -12,6 +12,7 @@ import pyvirtualcam if platform.system() == 'Darwin': # macOS import AVFoundation +# Import Windows specific modules only when on windows platform if os.name == 'nt': # Windows from pygrabber.dshow_graph import FilterGraph