forked from openlp/openlp
Loading VLC module can also result in an OSError
This commit is contained in:
parent
4361159434
commit
4f705a649a
@ -65,7 +65,7 @@ def get_vlc():
|
||||
if 'vlc' not in sys.modules:
|
||||
try:
|
||||
import vlc # noqa module is not used directly, but is used via sys.modules['vlc']
|
||||
except ImportError:
|
||||
except (ImportError, OSError):
|
||||
return None
|
||||
# Verify that VLC is also loadable
|
||||
is_vlc_available = False
|
||||
|
Loading…
Reference in New Issue
Block a user