This commit is contained in:
Tomas Groth 2019-06-09 22:22:43 +02:00
parent 0c7fe8d97c
commit 31f6779d3f
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ import time
from PyQt5 import QtWidgets, QtGui
from openlp.core.common import ThemeLevel
from openlp.core.common.i18n import UiStrings, translate
from openlp.core.common.i18n import translate
from openlp.core.common.mixins import LogMixin, RegistryProperties
from openlp.core.common.registry import Registry, RegistryBase
from openlp.core.common.settings import Settings

View File

@ -64,7 +64,7 @@ def get_vlc():
# Import the VLC module if not already done
if 'vlc' not in sys.modules:
try:
import vlc
import vlc # noqa module is not used directly, but is used via sys.modules['vlc']
except ImportError:
return None
# Verify that VLC is also loadable