- removed unused import statements
- added macOS specific required library to requirements.txt - conditional import of pygrabber, which is unavailable for macOS
This commit is contained in:
1 parent
0d4676591e
commit
5cabbffda8
1 file changed
+1
@@ -12,6 +12,7 @@ import pyvirtualcam
|
|||||||
if platform.system() == 'Darwin': # macOS
|
if platform.system() == 'Darwin': # macOS
|
||||||
import AVFoundation
|
import AVFoundation
|
||||||
|
|
||||||
|
# Import Windows specific modules only when on windows platform
|
||||||
if os.name == 'nt': # Windows
|
if os.name == 'nt': # Windows
|
||||||
from pygrabber.dshow_graph import FilterGraph
|
from pygrabber.dshow_graph import FilterGraph
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user