- removed unused import statements
- added macOS specific required library to requirements.txt - conditional import of pygrabber, which is unavailable for macOSpull/615/head
parent
0d4676591e
commit
5cabbffda8
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue