better import condition

pull/615/head
Michael 2024-09-22 18:11:02 +01:00
parent 0e3805e200
commit aa021b6aa0
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ if platform.system() == 'Darwin': # macOS
import AVFoundation
# Import Windows specific modules only when on windows platform
if os.name == 'nt': # Windows
if platform.system() == 'Windows' or platform.system() == 'Linux': # Windows or Linux
from pygrabber.dshow_graph import FilterGraph